diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-11-28 10:54:35 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2014-01-18 20:41:24 +0100 |
commit | d1b3fabe6945e511bb20fc9ca52b47eb952526ee (patch) | |
tree | c7206e21b6114a1fa48b8fe52b46b04b4decdae9 /libavformat/pcmdec.c | |
parent | 210881110d3e22cca36edeaca118b5e22c998266 (diff) | |
download | ffmpeg-d1b3fabe6945e511bb20fc9ca52b47eb952526ee.tar.gz |
h264: reset first_field if frame_start() fails for missing refs
In this case we may not have a current frame, while first_field being
set implies we do.
Fixes invalid reads.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC:libav-stable@libav.org
Diffstat (limited to 'libavformat/pcmdec.c')
0 files changed, 0 insertions, 0 deletions