OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1eeca88
)
ffmpeg: remove unused variable in ffmpeg_exit()
author
Stefano Sabatini
<stefano.sabatini-lala@poste.it>
Sat, 12 Mar 2011 11:17:52 +0000
(11:17 +0000)
committer
Mans Rullgard
<mans@mansr.com>
Sat, 12 Mar 2011 14:08:27 +0000
(14:08 +0000)
Fix the warning:
ffmpeg.c: In function ‘ffmpeg_exit’:
ffmpeg.c:509: warning: unused variable ‘j’
Signed-off-by: Mans Rullgard <mans@mansr.com>
ffmpeg.c
patch
|
blob
|
history
diff --git
a/ffmpeg.c
b/ffmpeg.c
index
7f90956
..
cb81368
100644
(file)
--- 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);