summaryrefslogtreecommitdiff
path: root/libavformat/mov.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/mov.c
parentd3cedc54cc872a376851828c88103c653fc8c395 (diff)
lavf: use av_fourcc2str() where appropriate
Diffstat (limited to 'libavformat/mov.c')
-rw-r--r--libavformat/mov.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c
index 4034ca5e04..14b85d0d25 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -2284,9 +2284,8 @@ int ff_mov_read_stsd_entries(MOVContext *c, AVIOContext *pb, int entries)
id = mov_codec_id(st, format);
av_log(c->fc, AV_LOG_TRACE,
- "size=%"PRId64" 4CC= %c%c%c%c/0x%08x codec_type=%d\n", size,
- (format >> 0) & 0xff, (format >> 8) & 0xff, (format >> 16) & 0xff,
- (format >> 24) & 0xff, format, st->codecpar->codec_type);
+ "size=%"PRId64" 4CC=%s/0x%08x codec_type=%d\n", size,
+ av_fourcc2str(format), format, st->codecpar->codec_type);
if (st->codecpar->codec_type==AVMEDIA_TYPE_VIDEO) {
st->codecpar->codec_id = id;