diff options
author | Clément Bœsch <u@pkh.me> | 2017-03-27 09:45:35 +0200 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2017-03-29 14:49:29 +0200 |
commit | bec96a7286bc415dd737c8c8f430f0176999e720 (patch) | |
tree | b89f90048e94b153a4a3d7e494d93c57cc7db0a2 /libavformat/cafdec.c | |
parent | d3cedc54cc872a376851828c88103c653fc8c395 (diff) | |
download | ffmpeg-bec96a7286bc415dd737c8c8f430f0176999e720.tar.gz |
lavf: use av_fourcc2str() where appropriate
Diffstat (limited to 'libavformat/cafdec.c')
-rw-r--r-- | libavformat/cafdec.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libavformat/cafdec.c b/libavformat/cafdec.c index fc85fd9799..19939d3a85 100644 --- a/libavformat/cafdec.c +++ b/libavformat/cafdec.c @@ -298,11 +298,9 @@ static int read_header(AVFormatContext *s) break; default: -#define _(x) ((x) >= ' ' ? (x) : ' ') av_log(s, AV_LOG_WARNING, - "skipping CAF chunk: %08"PRIX32" (%c%c%c%c), size %"PRId64"\n", - tag, _(tag>>24), _((tag>>16)&0xFF), _((tag>>8)&0xFF), _(tag&0xFF), size); -#undef _ + "skipping CAF chunk: %08"PRIX32" (%s), size %"PRId64"\n", + tag, av_fourcc2str(av_bswap32(tag)), size); case MKBETAG('f','r','e','e'): if (size < 0) return AVERROR_INVALIDDATA; |