]> git.sesse.net Git - ffmpeg/commitdiff
mov: Log format rather than fourcc in stsd in trace mode
authorVittorio Giovara <vittorio.giovara@gmail.com>
Tue, 30 Jun 2015 13:38:48 +0000 (15:38 +0200)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Tue, 30 Jun 2015 23:13:58 +0000 (00:13 +0100)
This will fix remaining format warnings.

libavformat/mov.c

index ba052067f6c1beeeb8742a414e0ccf7f763dc21f..d075645bea9e5af24a071c0b40b1640602617cc8 100644 (file)
@@ -1791,9 +1791,9 @@ 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=%"PRIu32" 4CC= %"PRIu8"%"PRIu8"%"PRIu8"%"PRIu8" codec_type=%d\n", size,
-                (format >> 0) & 0xff, (format >> 8) & 0xff, (format >> 16) & 0xff,
-                (format >> 24) & 0xff, st->codec->codec_type);
+        av_log(c->fc, AV_LOG_TRACE,
+               "size=%"PRIu32" format=0x%08x codec_type=%d\n",
+               size, format, st->codec->codec_type);
 
         if (st->codec->codec_type==AVMEDIA_TYPE_VIDEO) {
             st->codec->codec_id = id;