summaryrefslogtreecommitdiff
path: root/libavcodec/pthread.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-03-12 16:43:06 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-03-12 18:10:09 +0100
commit6b6b0e9daed339ed8da7606a8b043aed6ee2a4c4 (patch)
treed3d8f8b403e676b073a78de67fdf0a0bd1485aef /libavcodec/pthread.c
parentee4a6586952ba0ac8309468b04631da12767cebd (diff)
downloadffmpeg-6b6b0e9daed339ed8da7606a8b043aed6ee2a4c4.tar.gz
pthread: fix unused variable warning
Diffstat (limited to 'libavcodec/pthread.c')
-rw-r--r--libavcodec/pthread.c1
1 files changed, 0 insertions, 1 deletions
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);