diff options
Diffstat (limited to 'libavcodec/pthread.c')
-rw-r--r-- | libavcodec/pthread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/pthread.c b/libavcodec/pthread.c index 516e5fcfd0..6942c1ebf1 100644 --- a/libavcodec/pthread.c +++ b/libavcodec/pthread.c @@ -652,7 +652,7 @@ int ff_thread_decode_frame(AVCodecContext *avctx, */ if (fctx->delaying) { - if (fctx->next_decoding >= (avctx->thread_count-1)) fctx->delaying = 0; + if (fctx->next_decoding >= (avctx->thread_count-1-(avctx->codec_id == AV_CODEC_ID_FFV1))) fctx->delaying = 0; *got_picture_ptr=0; if (avpkt->size) |