[FFmpeg-cvslog] pthread: fix unused variable warning

Michael Niedermayer git at videolan.org
Tue Mar 12 18:17:16 CET 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Mar 12 16:43:06 2013 +0100| [6b6b0e9daed339ed8da7606a8b043aed6ee2a4c4] | committer: Michael Niedermayer

pthread: fix unused variable warning

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6b6b0e9daed339ed8da7606a8b043aed6ee2a4c4
---

 libavcodec/pthread.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/libavcodec/pthread.c b/libavcodec/pthread.c
index 5903e09..6cd0c72 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);
 



More information about the ffmpeg-cvslog mailing list