aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2017-03-27 01:36:53 +0200
committerClément Bœsch <u@pkh.me>2017-03-29 14:49:29 +0200
commitfa0a8faaa4510c946901446e4d2651e3f5f41b60 (patch)
tree525e2773915552cb29c2f45cffefb442726cee56
parent337c68d07142d1eeb540d73e2049896b9ab4f04e (diff)
downloadffmpeg-fa0a8faaa4510c946901446e4d2651e3f5f41b60.tar.gz
ffprobe: fix usage of av_get_codec_tag_string()
-rw-r--r--ffprobe.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ffprobe.c b/ffprobe.c
index 67c4ed40fa..4d5270feb6 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) {