diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-11-28 10:54:35 +0100 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2014-05-31 20:05:19 -0400 |
commit | a7cce9ebf3ae3b9678970236c964900393603a73 (patch) | |
tree | 4a5d8cb42e1838fcf9345f332bcfe542e8ffc256 /libavcodec/mpeg12data.h | |
parent | 51ae8e26af8f5b26efb41edc0fe4812368d16ae9 (diff) | |
download | ffmpeg-a7cce9ebf3ae3b9678970236c964900393603a73.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 'libavcodec/mpeg12data.h')
0 files changed, 0 insertions, 0 deletions