Fix the warning:
ffmpeg.c: In function ‘ffmpeg_exit’:
ffmpeg.c:509: warning: unused variable ‘j’
Signed-off-by: Mans Rullgard <mans@mansr.com>
/* close files */
for(i=0;i<nb_output_files;i++) {
AVFormatContext *s = output_files[i];
/* close files */
for(i=0;i<nb_output_files;i++) {
AVFormatContext *s = output_files[i];
if (!(s->oformat->flags & AVFMT_NOFILE) && s->pb)
avio_close(s->pb);
avformat_free_context(s);
if (!(s->oformat->flags & AVFMT_NOFILE) && s->pb)
avio_close(s->pb);
avformat_free_context(s);