[FFmpeg-cvslog] ffprobe: fix usage of av_get_codec_tag_string()

Clément Bœsch git at videolan.org
Wed Mar 29 15:55:03 EEST 2017


ffmpeg | branch: master | Clément Bœsch <u at pkh.me> | Mon Mar 27 01:36:53 2017 +0200| [fa0a8faaa4510c946901446e4d2651e3f5f41b60] | committer: Clément Bœsch

ffprobe: fix usage of av_get_codec_tag_string()

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

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

diff --git a/ffprobe.c b/ffprobe.c
index 67c4ed4..4d5270f 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) {



More information about the ffmpeg-cvslog mailing list