aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2011-03-12 11:17:52 +0000
committerMans Rullgard <mans@mansr.com>2011-03-12 14:08:27 +0000
commit5dbe78bf91112b61ee6948c275d6bcf87b68251f (patch)
treeb96d7d133ecd0491af6483f825a9775c43082158
parent1eeca88691ad0fd232f110f3a389ebb494c0a6dc (diff)
downloadffmpeg-5dbe78bf91112b61ee6948c275d6bcf87b68251f.tar.gz
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@mansr.com>
-rw-r--r--ffmpeg.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 7f909563cd..cb81368209 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);