Browse code

ffprobe: fix usage of av_get_codec_tag_string()

Clément Bœsch authored on 2017/03/27 08:36:53
Showing 1 changed files
... ...
@@ -2382,8 +2382,7 @@ static int show_stream(WriterContext *w, AVFormatContext *fmt_ctx, int stream_id
2382 2382
 #endif
2383 2383
 
2384 2384
     /* print AVI/FourCC tag */
2385
-    av_get_codec_tag_string(val_str, sizeof(val_str), par->codec_tag);
2386
-    print_str("codec_tag_string",    val_str);
2385
+    print_str("codec_tag_string",    av_fourcc2str(par->codec_tag));
2387 2386
     print_fmt("codec_tag", "0x%04x", par->codec_tag);
2388 2387
 
2389 2388
     switch (par->codec_type) {