diff mbox

[FFmpeg-devel,06/10] ffprobe: fix usage of av_get_codec_tag_string()

Message ID 20170327075203.7499-6-u@pkh.me
State Accepted
Headers show

Commit Message

Clément Bœsch March 27, 2017, 7:51 a.m. UTC
---
 ffprobe.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
diff mbox

Patch

diff --git a/ffprobe.c b/ffprobe.c
index ba27bce823..17888c7063 100644
--- a/ffprobe.c
+++ b/ffprobe.c
@@ -2242,8 +2242,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_4cc2str(par->codec_tag));
     print_fmt("codec_tag", "0x%04x", par->codec_tag);
 
     switch (par->codec_type) {