diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-01-29 04:17:48 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-02-05 16:50:52 +0100 |
commit | 3ef1538121fa6daeb1767510f1d4ae2c306c9fec (patch) | |
tree | d308f45bbe638aa572180bc84f0e258661040cee /libavcodec/asvenc.c | |
parent | 47e462eecc0a47ad40f59376199f93f227e21d13 (diff) | |
download | ffmpeg-3ef1538121fa6daeb1767510f1d4ae2c306c9fec.tar.gz |
h264: check the pixel format directly and force a reinit on mismatches.
The existing checks are insufficient to detect a pixel format
changes in case of some damaged streams.
Fixes inconsistency and later out of array accesses
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 11c99c78bafa77f679a1a3ba06ad00984b9a4cae)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/asvenc.c')
0 files changed, 0 insertions, 0 deletions