Browse Source

Merge commit 'a1e2caa93e4f8102666a21222f01b74838b6497f'

* commit 'a1e2caa93e4f8102666a21222f01b74838b6497f':
  mov: Log format rather than fourcc in stsd in trace mode

Conflicts:
	libavformat/mov.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.8
Michael Niedermayer 10 years ago
parent
commit
55a04a5d7a
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      libavformat/mov.c

+ 3
- 2
libavformat/mov.c View File

@@ -1993,9 +1993,10 @@ 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 codec_type=%d\n", size,
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, st->codec->codec_type);
(format >> 24) & 0xff, format, st->codec->codec_type);

if (st->codec->codec_type==AVMEDIA_TYPE_VIDEO) {
st->codec->codec_id = id;


Loading…
Cancel
Save