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/cafdec.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'libavformat/cafdec.c') 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; -- cgit v1.2.3