[FFmpeg-devel] [PATCH 06/10] ffprobe: fix usage of av_get_codec_tag_string()
Clément Bœsch
u at pkh.me
Mon Mar 27 10:51:59 EEST 2017
---
ffprobe.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
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) {
--
2.12.0
More information about the ffmpeg-devel
mailing list