aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vqavideo.c
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2017-03-27 09:45:11 +0200
committerClément Bœsch <u@pkh.me>2017-03-29 14:49:29 +0200
commit2d12b910f71093b782726d00b94643f7f21ca27d (patch)
tree8325ed428af88b01b48387b51ffa1c87825e965a /libavcodec/vqavideo.c
parentbec96a7286bc415dd737c8c8f430f0176999e720 (diff)
downloadffmpeg-2d12b910f71093b782726d00b94643f7f21ca27d.tar.gz
lavc: use av_fourcc2str() where appropriate
Diffstat (limited to 'libavcodec/vqavideo.c')
-rw-r--r--libavcodec/vqavideo.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/libavcodec/vqavideo.c b/libavcodec/vqavideo.c
index 81d50bb5a4..0e70be1000 100644
--- a/libavcodec/vqavideo.c
+++ b/libavcodec/vqavideo.c
@@ -384,12 +384,8 @@ static int vqa_decode_chunk(VqaContext *s, AVFrame *frame)
break;
default:
- av_log(s->avctx, AV_LOG_ERROR, "Found unknown chunk type: %c%c%c%c (%08X)\n",
- (chunk_type >> 24) & 0xFF,
- (chunk_type >> 16) & 0xFF,
- (chunk_type >> 8) & 0xFF,
- (chunk_type >> 0) & 0xFF,
- chunk_type);
+ av_log(s->avctx, AV_LOG_ERROR, "Found unknown chunk type: %s (%08X)\n",
+ av_fourcc2str(av_bswap32(chunk_type)), chunk_type);
break;
}