Browse code

mov: Log format rather than fourcc in stsd in trace mode

This will fix remaining format warnings.

Vittorio Giovara authored on 2015/06/30 22:38:48
Showing 1 changed files
... ...
@@ -1791,9 +1791,9 @@ int ff_mov_read_stsd_entries(MOVContext *c, AVIOContext *pb, int entries)
1791 1791
 
1792 1792
         id = mov_codec_id(st, format);
1793 1793
 
1794
-        av_log(c->fc, AV_LOG_TRACE, "size=%"PRIu32" 4CC= %"PRIu8"%"PRIu8"%"PRIu8"%"PRIu8" codec_type=%d\n", size,
1795
-                (format >> 0) & 0xff, (format >> 8) & 0xff, (format >> 16) & 0xff,
1796
-                (format >> 24) & 0xff, st->codec->codec_type);
1794
+        av_log(c->fc, AV_LOG_TRACE,
1795
+               "size=%"PRIu32" format=0x%08x codec_type=%d\n",
1796
+               size, format, st->codec->codec_type);
1797 1797
 
1798 1798
         if (st->codec->codec_type==AVMEDIA_TYPE_VIDEO) {
1799 1799
             st->codec->codec_id = id;