Commit 55ed19bf authored by Stefano Sabatini's avatar Stefano Sabatini

ffprobe: remove unused variable in show_format()

parent 4c5c0609
...@@ -1305,7 +1305,6 @@ static void show_format(WriterContext *w, AVFormatContext *fmt_ctx) ...@@ -1305,7 +1305,6 @@ static void show_format(WriterContext *w, AVFormatContext *fmt_ctx)
{ {
char val_str[128]; char val_str[128];
int64_t size = avio_size(fmt_ctx->pb); int64_t size = avio_size(fmt_ctx->pb);
struct print_buf pbuf = {.s = NULL};
print_section_header("format"); print_section_header("format");
print_str("filename", fmt_ctx->filename); print_str("filename", fmt_ctx->filename);
...@@ -1320,7 +1319,6 @@ static void show_format(WriterContext *w, AVFormatContext *fmt_ctx) ...@@ -1320,7 +1319,6 @@ static void show_format(WriterContext *w, AVFormatContext *fmt_ctx)
else print_str_opt("bit_rate", "N/A"); else print_str_opt("bit_rate", "N/A");
show_tags(fmt_ctx->metadata); show_tags(fmt_ctx->metadata);
print_section_footer("format"); print_section_footer("format");
av_free(pbuf.s);
fflush(stdout); fflush(stdout);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment