Files
FFmpeg/libavcodec
Michael Niedermayer 4fdf23df7d 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 4f33a9803a)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2020-07-03 12:10:24 +02:00
..
2020-07-01 22:25:21 +02:00
2017-02-15 12:46:01 +01:00
2017-05-29 14:08:07 +02:00
2017-10-03 19:47:37 -03:00
2018-10-15 01:19:45 +02:00
2018-10-12 09:48:07 -07:00
2018-08-08 00:13:13 +05:30
2019-06-27 17:50:47 +02:00
2017-07-07 15:23:58 -04:00
2018-09-23 14:42:34 +01:00
2020-01-06 15:03:15 +01:00
2017-05-08 12:30:09 +02:00
2018-07-18 13:59:25 +02:00
2018-04-19 22:59:40 +02:00
2017-07-07 15:29:57 -04:00
2018-02-24 17:06:31 +01:00
2018-02-24 17:06:31 +01:00
2017-03-20 09:23:15 +01:00
2020-01-06 11:30:42 +01:00
2020-07-03 12:10:24 +02:00
2020-07-03 12:10:24 +02:00
2017-10-03 19:47:37 -03:00
2018-04-25 23:09:47 +02:00
2017-05-23 15:25:11 +02:00
2019-06-27 17:50:47 +02:00
2017-09-16 19:55:03 +02:00
2020-01-06 15:03:15 +01:00
2017-08-30 12:13:01 +02:00
2017-02-21 00:40:20 +01:00
2018-09-09 11:35:14 +02:00
2020-07-03 12:10:24 +02:00
2018-09-23 15:25:50 +02:00
2019-01-21 07:53:25 +01:00
2017-07-12 20:36:13 +02:00
2018-05-25 20:09:22 +02:00
2017-12-10 14:43:01 +01:00
2018-02-24 17:06:31 +01:00
2017-12-11 00:42:26 -03:00
2019-06-29 20:43:54 +02:00
2017-10-03 19:47:37 -03:00
2017-10-03 19:47:37 -03:00
2019-03-14 00:24:44 +01:00
2016-11-15 22:01:08 +01:00
2020-01-06 11:30:42 +01:00
2017-01-11 16:02:10 +01:00
2020-07-03 12:10:24 +02:00
2017-02-21 00:40:20 +01:00
2020-07-03 12:10:24 +02:00
2018-01-03 13:00:06 -05:00
2017-07-20 08:24:46 +01:00
2018-10-03 20:48:49 -03:00
2020-07-03 12:10:24 +02:00
2018-03-29 00:05:52 -03:00
2018-08-22 11:36:19 +02:00
2020-07-03 12:10:23 +02:00
2018-09-14 21:36:21 +02:00
2018-05-05 21:35:31 +02:00
2020-07-03 12:10:23 +02:00
2017-07-26 06:13:05 +07:00
2017-07-11 13:22:02 +07:00
2020-01-06 11:30:42 +01:00
2018-03-07 22:26:53 +01:00
2017-01-16 10:24:01 +01:00
2017-09-22 01:33:22 +02:00
2018-02-24 04:50:55 +01:00
2020-01-06 15:03:15 +01:00
2019-07-08 11:44:52 +02:00
2020-07-01 22:20:51 +02:00
2019-01-21 07:53:26 +01:00
2017-05-25 14:30:04 +02:00
2020-07-01 22:18:52 +02:00
2020-01-06 11:30:44 +01:00
2018-09-08 21:21:50 +02:00
2020-01-06 11:30:43 +01:00
2017-04-13 14:09:07 +02:00
2017-10-04 23:14:37 +01:00
2019-01-21 07:53:26 +01:00
2018-02-21 23:38:30 +00:00
2018-04-25 22:07:20 +02:00
2017-07-14 02:30:37 +02:00
2017-07-14 02:30:37 +02:00
2020-01-06 11:30:42 +01:00
2020-01-06 11:30:43 +01:00
2020-01-06 11:30:42 +01:00
2020-01-06 11:30:42 +01:00
2017-12-19 23:21:59 +00:00
2020-01-06 11:30:42 +01:00
2018-09-30 22:23:02 +02:00
2017-12-19 23:21:59 +00:00
2017-09-22 01:33:22 +02:00
2017-10-03 19:47:37 -03:00
2017-01-20 13:58:41 +01:00
2017-07-24 17:52:42 +02:00
2019-03-14 00:24:44 +01:00