mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-20 05:52:41 +08:00
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>
This commit is contained in:

committed by
Mans Rullgard

parent
1eeca88691
commit
5dbe78bf91
1
ffmpeg.c
1
ffmpeg.c
@ -506,7 +506,6 @@ static int ffmpeg_exit(int ret)
|
|||||||
/* close files */
|
/* close files */
|
||||||
for(i=0;i<nb_output_files;i++) {
|
for(i=0;i<nb_output_files;i++) {
|
||||||
AVFormatContext *s = output_files[i];
|
AVFormatContext *s = output_files[i];
|
||||||
int j;
|
|
||||||
if (!(s->oformat->flags & AVFMT_NOFILE) && s->pb)
|
if (!(s->oformat->flags & AVFMT_NOFILE) && s->pb)
|
||||||
avio_close(s->pb);
|
avio_close(s->pb);
|
||||||
avformat_free_context(s);
|
avformat_free_context(s);
|
||||||
|
Reference in New Issue
Block a user