[FFmpeg-devel] [PATCH] ffprobe: remove unused print_format_entry() function

Stefano Sabatini stefasab at gmail.com
Wed May 9 01:35:37 CEST 2012


The function was introduced in 653d117c, but is not required.
---
 ffprobe.c |   14 --------------
 1 files changed, 0 insertions(+), 14 deletions(-)

diff --git a/ffprobe.c b/ffprobe.c
index 84f7d82..8145437 100644
--- a/ffprobe.c
+++ b/ffprobe.c
@@ -1441,20 +1441,6 @@ static void show_streams(WriterContext *w, AVFormatContext *fmt_ctx)
         show_stream(w, fmt_ctx, i);
 }
 
-static void print_format_entry(const char *tag,
-                               const char *val)
-{
-    if (!fmt_entries_to_show) {
-        if (tag) {
-            printf("%s=%s\n", tag, val);
-        } else {
-            printf("%s\n", val);
-        }
-    } else if (tag && av_dict_get(fmt_entries_to_show, tag, NULL, 0)) {
-        printf("%s=%s\n", tag, val);
-    }
-}
-
 static void show_format(WriterContext *w, AVFormatContext *fmt_ctx)
 {
     char val_str[128];
-- 
1.7.5.4



More information about the ffmpeg-devel mailing list