diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2020-05-28 00:19:56 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2020-07-01 12:49:26 +0200 |
commit | 97c4d49538d0e4a505cae4cf483553d47b7a9f63 (patch) | |
tree | a5caf6e2302e098038c5fd898530c8beb7edcf08 /tools | |
parent | 53c685afde0eea28865813ce54d41a05126df36e (diff) | |
download | ffmpeg-97c4d49538d0e4a505cae4cf483553d47b7a9f63.tar.gz |
avcodec/mpeg12dec: Fix got_output
This makes got_output consistent with the code in slice_end() which sets the output
in slice_end()
if (s->pict_type == AV_PICTURE_TYPE_B || s->low_delay) {
int ret = av_frame_ref(pict, s->current_picture_ptr->f);
...
} else {
Fixes: assertion failure
Fixes: 22178/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MPEG1VIDEO_fuzzer-5664234440753152
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 4f33a9803a3068ce2d52289fc1db60375dc8b7a5)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions