[FFmpeg-cvslog] ffmpeg: remove unused variable in ffmpeg_exit()

Stefano Sabatini git
Sat Mar 12 23:02:22 CET 2011


ffmpeg | branch: master | Stefano Sabatini <stefano.sabatini-lala at poste.it> | Sat Mar 12 11:17:52 2011 +0000| [5dbe78bf91112b61ee6948c275d6bcf87b68251f] | committer: Mans Rullgard

ffmpeg: remove unused variable in ffmpeg_exit()

Fix the warning:
ffmpeg.c: In function ?ffmpeg_exit?:
ffmpeg.c:509: warning: unused variable ?j?

Signed-off-by: Mans Rullgard <mans at mansr.com>

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

 ffmpeg.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/ffmpeg.c b/ffmpeg.c
index 7f90956..cb81368 100644
--- 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);




More information about the ffmpeg-cvslog mailing list