Browse Source

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

This will fix remaining format warnings.
tags/n2.8
Vittorio Giovara 10 years ago
parent
commit
a1e2caa93e
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      libavformat/mov.c

+ 3
- 3
libavformat/mov.c View 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;


Loading…
Cancel
Save