h264: additional protection against unsupported size/bitdepth changes.
authorRonald S. Bultje <rsbultje@gmail.com>
Thu, 29 Mar 2012 23:37:09 +0000 (16:37 -0700)
committerReinhard Tartler <siretart@tauware.de>
Fri, 4 May 2012 20:09:27 +0000 (22:09 +0200)
commit746f1594d71dece6fd6f786447e19be9c200a07d
tree674d2e48b70052acc80e73d04de8bdb926ac01fd
parent0e4bb0530f7d4cb1343499ee2bf0cb943d3b9a41
h264: additional protection against unsupported size/bitdepth changes.

Fixes crashes in codepaths not covered by original checks.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
(cherry picked from commit 732f9fcfe54fc9a0a7bbce53fe86b38744c2d301)

Conflicts:

libavcodec/h264.c

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