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 18:36:38 +0000 (19:36 +0100)
commitad025377462cd01c11f1fe67d087804999af9d49
tree52d986faf3502919174f5e9db07c782d339ff4f3
parent3bc9cfe66e1a34c6d9dc45fde2a44aa38e6363ce
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