summaryrefslogtreecommitdiff
path: root/ffprobe.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2012-01-01 17:19:33 +0100
committerStefano Sabatini <stefasab@gmail.com>2012-01-04 01:06:11 +0100
commit55ed19bf3b651c6215a6ffb20b751dbb3dd8568e (patch)
tree557d4049860ec2e58e8aeaec057cdf8eb5e6d94e /ffprobe.c
parent4c5c0609c1fc62567de2d47b927c505524c300b5 (diff)
ffprobe: remove unused variable in show_format()
Diffstat (limited to 'ffprobe.c')
-rw-r--r--ffprobe.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ffprobe.c b/ffprobe.c
index 8d4d021d13..0c1e3d0d03 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);
}