diff --git a/libavcodec/pthread.c b/libavcodec/pthread.c index 35f8137f03..070dbffc1f 100644 --- a/libavcodec/pthread.c +++ b/libavcodec/pthread.c @@ -731,6 +731,7 @@ static void park_frame_worker_threads(FrameThreadContext *fctx, int thread_count pthread_cond_wait(&p->output_cond, &p->progress_mutex); pthread_mutex_unlock(&p->progress_mutex); } + p->got_frame = 0; } }