diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-02-05 14:55:41 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-02-05 14:57:42 +0100 |
commit | e09ad5bd0de40da9ac33d86f973a85beed85cc47 (patch) | |
tree | 4809e7ee803b6097e2f521a77233a3272d0461b7 /libavformat/libgme.c | |
parent | 7dad2f7bb9753ba7a4a0cf0f69459dfec151e21c (diff) | |
download | ffmpeg-e09ad5bd0de40da9ac33d86f973a85beed85cc47.tar.gz |
avcodec/h264_refs: set last_pic_for_ec only if it has not been set previously
This ensures we do not loose the frame in case or multiple clears
Fixes out of array read
Fixes: asan_heap-oob_2fa47ea_2100_cov_1278768963_ff_add_pixels_clamped_mmx.m2ts
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/libgme.c')
0 files changed, 0 insertions, 0 deletions