h264: check sps.log2_max_frame_num for validity
authorJanne Grunau <janne-libav@jannau.net>
Sun, 25 Nov 2012 11:56:04 +0000 (12:56 +0100)
committerReinhard Tartler <siretart@tauware.de>
Sat, 12 Jan 2013 18:34:10 +0000 (19:34 +0100)
commit4457e6137d83d3b65d919608cd0f12bc62d57c67
tree8aa46136ed9224f441f1977a415266a69e1aa396
parent08d9fd611eac18be52e0bd3430ba6acb740cd79f
h264: check sps.log2_max_frame_num for validity

Fixes infinite or long taking loop in frame num gap code in
the fuzzed sample bipbop234.ts_s223302.

CC: libav-stable@libav.org
(cherry picked from commit d7d6efe42b0d2057e67999b96b9a391f533d2333)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
libavcodec/h264_ps.c