[FFmpeg-devel] [PATCH] ffmpeg: remove unused variable in ffmpeg_exit()
Stefano Sabatini
stefano.sabatini-lala
Sat Mar 12 12:17:52 CET 2011
Fix the warning:
ffmpeg.c: In function ?ffmpeg_exit?:
ffmpeg.c:509: warning: unused variable ?j?
---
ffmpeg.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/ffmpeg.c b/ffmpeg.c
index 875d594..24e8a93 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);
--
1.7.2.3
More information about the ffmpeg-devel
mailing list