h264: check ref_count validity for num_ref_idx_active_override_flag
authorJanne Grunau <janne-libav@jannau.net>
Sat, 12 Jan 2013 16:22:50 +0000 (17:22 +0100)
committerReinhard Tartler <siretart@tauware.de>
Sat, 12 Jan 2013 18:36:38 +0000 (19:36 +0100)
commitdd0c5e0fa909bac905ea8baa49b704892792a1c9
tree705c250cb8d033d65b4548ef8ce03acf43927cf4
parentad025377462cd01c11f1fe67d087804999af9d49
h264: check ref_count validity for num_ref_idx_active_override_flag

Fixes segfault in the fuzzed sample bipbop234.ts_s226407.
CC: libav-stable@libav.org
(cherry-picked from commit 6e5cdf26281945ddea3aaf5eca4d127791f23ca8)
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
libavcodec/h264.c