summaryrefslogtreecommitdiff
path: root/libavformat/rmdec.c
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2017-03-27 09:45:35 +0200
committerClément Bœsch <u@pkh.me>2017-03-29 14:49:29 +0200
commitbec96a7286bc415dd737c8c8f430f0176999e720 (patch)
treeb89f90048e94b153a4a3d7e494d93c57cc7db0a2 /libavformat/rmdec.c
parentd3cedc54cc872a376851828c88103c653fc8c395 (diff)
lavf: use av_fourcc2str() where appropriate
Diffstat (limited to 'libavformat/rmdec.c')
-rw-r--r--libavformat/rmdec.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/libavformat/rmdec.c b/libavformat/rmdec.c
index e6a1fe8842..88c2b9abf9 100644
--- a/libavformat/rmdec.c
+++ b/libavformat/rmdec.c
@@ -564,13 +564,8 @@ static int rm_read_header(AVFormatContext *s)
tag = avio_rl32(pb);
tag_size = avio_rb32(pb);
avio_rb16(pb);
- av_log(s, AV_LOG_TRACE, "tag=%c%c%c%c (%08x) size=%d\n",
- (tag ) & 0xff,
- (tag >> 8) & 0xff,
- (tag >> 16) & 0xff,
- (tag >> 24) & 0xff,
- tag,
- tag_size);
+ av_log(s, AV_LOG_TRACE, "tag=%s size=%d\n",
+ av_fourcc2str(tag), tag_size);
if (tag_size < 10 && tag != MKTAG('D', 'A', 'T', 'A'))
goto fail;
switch(tag) {