[FFmpeg-cvslog] ffprobe: remove unused variable in show_format()
Stefano Sabatini
git at videolan.org
Wed Jan 4 01:09:18 CET 2012
ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Sun Jan 1 17:19:33 2012 +0100| [55ed19bf3b651c6215a6ffb20b751dbb3dd8568e] | committer: Stefano Sabatini
ffprobe: remove unused variable in show_format()
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=55ed19bf3b651c6215a6ffb20b751dbb3dd8568e
---
ffprobe.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/ffprobe.c b/ffprobe.c
index 8d4d021..0c1e3d0 100644
--- a/ffprobe.c
+++ b/ffprobe.c
@@ -1305,7 +1305,6 @@ static void show_format(WriterContext *w, AVFormatContext *fmt_ctx)
{
char val_str[128];
int64_t size = avio_size(fmt_ctx->pb);
- struct print_buf pbuf = {.s = NULL};
print_section_header("format");
print_str("filename", fmt_ctx->filename);
@@ -1320,7 +1319,6 @@ static void show_format(WriterContext *w, AVFormatContext *fmt_ctx)
else print_str_opt("bit_rate", "N/A");
show_tags(fmt_ctx->metadata);
print_section_footer("format");
- av_free(pbuf.s);
fflush(stdout);
}
More information about the ffmpeg-cvslog
mailing list