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 16:59:41 +0000 (17:59 +0100)
commitadef01c370c909ed639dde3277476fab704589be
tree02719f3602ece9d24ea671fdebf163e34a3a1091
parent06312bbb101815a992fae0e16cde89ea4066a3a1
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