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

Stefano Sabatini git at videolan.org
Mon May 14 13:01:36 CEST 2012


ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Wed May  9 01:28:58 2012 +0200| [a0fd32219537e3ece4c764060a264bd31256d176] | committer: Stefano Sabatini

ffprobe: remove unused print_format_entry() function

The function was introduced in 653d117c, but is not required.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a0fd32219537e3ece4c764060a264bd31256d176
---

 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];



More information about the ffmpeg-cvslog mailing list