diff options
author | Clément Bœsch | 2017-03-27 09:45:35 +0200 |
---|---|---|
committer | Clément Bœsch | 2017-03-29 14:49:29 +0200 |
commit | bec96a7286bc415dd737c8c8f430f0176999e720 (patch) | |
tree | b89f90048e94b153a4a3d7e494d93c57cc7db0a2 /libavformat/avidec.c | |
parent | d3cedc54cc872a376851828c88103c653fc8c395 (diff) |
lavf: use av_fourcc2str() where appropriate
Diffstat (limited to 'libavformat/avidec.c')
-rw-r--r-- | libavformat/avidec.c | 10 |
1 files changed, 3 insertions, 7 deletions
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) { |