[FFmpeg-cvslog] ffprobe: remove unused variable i in probe_file()
Stefano Sabatini
git at videolan.org
Wed May 16 13:21:24 CEST 2012
ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Wed May 16 13:20:21 2012 +0200| [e109e392ba8658ba09895659c7a381187f14e3dc] | committer: Stefano Sabatini
ffprobe: remove unused variable i in probe_file()
Fix warning:
ffprobe.c: In function ‘probe_file’:
ffprobe.c:1576:14: warning: unused variable ‘i’ [-Wunused-variable]
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e109e392ba8658ba09895659c7a381187f14e3dc
---
ffprobe.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ffprobe.c b/ffprobe.c
index 5009d58..d53ec11 100644
--- a/ffprobe.c
+++ b/ffprobe.c
@@ -1573,7 +1573,7 @@ static void close_input_file(AVFormatContext **ctx_ptr)
static int probe_file(WriterContext *wctx, const char *filename)
{
AVFormatContext *fmt_ctx;
- int ret, i;
+ int ret;
do_read_frames = do_show_frames || do_count_frames;
do_read_packets = do_show_packets || do_count_packets;
More information about the ffmpeg-cvslog
mailing list