h264: check context state before decoding slice data partitions
authorJanne Grunau <janne-libav@jannau.net>
Wed, 28 Nov 2012 21:17:14 +0000 (22:17 +0100)
committerReinhard Tartler <siretart@tauware.de>
Sat, 12 Jan 2013 16:59:41 +0000 (17:59 +0100)
commit06312bbb101815a992fae0e16cde89ea4066a3a1
tree3a3f4073461374905a32fc7b3269a3bd89a59903
parent03fec31cd76f1b9eb980d4e422e569d95cad326c
h264: check context state before decoding slice data partitions

Fixes mov_h264_aac__Demo_FlagOfOurFathers.mov.SIGSEGV.4e9.656.

Found-by: Mateusz "j00ru" Jurczyk
CC: libav-stable@libav.org
(cherry-picked from commit c1fcf563b13051f280db169ba41c6a1b21b25e08)

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