diff options
author | Michael Niedermayer <[email protected]> | 2020-05-28 00:19:56 +0200 |
---|---|---|
committer | Michael Niedermayer <[email protected]> | 2020-07-02 19:55:10 +0200 |
commit | e30f9de0877e3ce4b63ee6377090eec426898200 (patch) | |
tree | b1fcc5cacee6e091b0789b02029780e726b00e4f /doc/examples/metadata.c | |
parent | 794d40a500ced454f6fad322b83b4454e7d5b2ea (diff) |
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 <[email protected]>
(cherry picked from commit 4f33a9803a3068ce2d52289fc1db60375dc8b7a5)
Signed-off-by: Michael Niedermayer <[email protected]>
Diffstat (limited to 'doc/examples/metadata.c')
0 files changed, 0 insertions, 0 deletions