From fa0a8faaa4510c946901446e4d2651e3f5f41b60 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Cl=C3=A9ment=20B=C5=93sch?= <u@pkh.me>
Date: Mon, 27 Mar 2017 01:36:53 +0200
Subject: [PATCH] ffprobe: fix usage of av_get_codec_tag_string()

---
 ffprobe.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/ffprobe.c b/ffprobe.c
index 67c4ed40fae..4d5270feb6f 100644
--- a/ffprobe.c
+++ b/ffprobe.c
@@ -2382,8 +2382,7 @@ static int show_stream(WriterContext *w, AVFormatContext *fmt_ctx, int stream_id
 #endif
 
     /* print AVI/FourCC tag */
-    av_get_codec_tag_string(val_str, sizeof(val_str), par->codec_tag);
-    print_str("codec_tag_string",    val_str);
+    print_str("codec_tag_string",    av_fourcc2str(par->codec_tag));
     print_fmt("codec_tag", "0x%04x", par->codec_tag);
 
     switch (par->codec_type) {
-- 
GitLab