[FFmpeg-cvslog] mov: Log format rather than fourcc in stsd in trace mode

Vittorio Giovara git at videolan.org
Wed Jul 1 04:23:21 CEST 2015


ffmpeg | branch: master | Vittorio Giovara <vittorio.giovara at gmail.com> | Tue Jun 30 15:38:48 2015 +0200| [a1e2caa93e4f8102666a21222f01b74838b6497f] | committer: Vittorio Giovara

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

This will fix remaining format warnings.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a1e2caa93e4f8102666a21222f01b74838b6497f
---

 libavformat/mov.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libavformat/mov.c b/libavformat/mov.c
index ba05206..d075645 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -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;



More information about the ffmpeg-cvslog mailing list