Fixes: Ticket8403
Unified · Split
| @@ -354,6 +354,9 @@ static int decode_slice(AVCodecContext *c, void *arg) · 353 unmodified lines | |||
| 354 | } | 354 | } |
| 355 | } | 355 | } |
| 356 | 356 | ||
| 357 | if (sc->slice_damaged && (f->avctx->err_recognition & AV_EF_EXPLODE)) | ||
| 358 | return AVERROR_INVALIDDATA; | ||
| 359 | |||
| 357 | if ((c->active_thread_type & FF_THREAD_FRAME) && !f->frame_damaged) | 360 | if ((c->active_thread_type & FF_THREAD_FRAME) && !f->frame_damaged) |
| 358 | ff_progress_frame_report(&f->picture, si); | 361 | ff_progress_frame_report(&f->picture, si); |
| 359 | 362 | ||