OSDN Git Service

ffmpeg: remove unused variable in ffmpeg_exit()
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Sat, 12 Mar 2011 11:17:52 +0000 (11:17 +0000)
committerMans Rullgard <mans@mansr.com>
Sat, 12 Mar 2011 14:08:27 +0000 (14:08 +0000)
Fix the warning:
ffmpeg.c: In function ‘ffmpeg_exit’:
ffmpeg.c:509: warning: unused variable ‘j’

Signed-off-by: Mans Rullgard <mans@mansr.com>
ffmpeg.c

index 7f90956..cb81368 100644 (file)
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -506,7 +506,6 @@ static int ffmpeg_exit(int ret)
     /* close files */
     for(i=0;i<nb_output_files;i++) {
         AVFormatContext *s = output_files[i];
-        int j;
         if (!(s->oformat->flags & AVFMT_NOFILE) && s->pb)
             avio_close(s->pb);
         avformat_free_context(s);