From bec96a7286bc415dd737c8c8f430f0176999e720 Mon Sep 17 00:00:00 2001 From: Clément Bœsch Date: Mon, 27 Mar 2017 09:45:35 +0200 Subject: lavf: use av_fourcc2str() where appropriate --- libavformat/avidec.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'libavformat/avidec.c') diff --git a/libavformat/avidec.c b/libavformat/avidec.c index 31c33ded56..4e694fe447 100644 --- a/libavformat/avidec.c +++ b/libavformat/avidec.c @@ -117,13 +117,9 @@ static const AVMetadataConv avi_metadata_conv[] = { static int avi_load_index(AVFormatContext *s); static int guess_ni_flag(AVFormatContext *s); -#define print_tag(str, tag, size) \ - av_log(NULL, AV_LOG_TRACE, "pos:%"PRIX64" %s: tag=%c%c%c%c size=0x%x\n", \ - avio_tell(pb), str, tag & 0xff, \ - (tag >> 8) & 0xff, \ - (tag >> 16) & 0xff, \ - (tag >> 24) & 0xff, \ - size) +#define print_tag(str, tag, size) \ + av_log(NULL, AV_LOG_TRACE, "pos:%"PRIX64" %s: tag=%s size=0x%x\n", \ + avio_tell(pb), str, av_fourcc2str(tag), size) \ static inline int get_duration(AVIStream *ast, int len) { -- cgit v1.2.3