diff --git a/libavcodec/pthread.c b/libavcodec/pthread.c index 5903e0991e..6cd0c72333 100644 --- a/libavcodec/pthread.c +++ b/libavcodec/pthread.c @@ -371,7 +371,6 @@ static attribute_align_arg void *frame_worker_thread(void *arg) pthread_mutex_lock(&p->mutex); while (1) { - int i; while (p->state == STATE_INPUT_READY && !fctx->die) pthread_cond_wait(&p->input_cond, &p->mutex);