Browse Source

mov: use the format context for logging.

CC:libav-stable@libav.org
tags/n1.2
Anton Khirnov 12 years ago
parent
commit
56daf10e03
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/mov.c

+ 1
- 1
libavformat/mov.c View File

@@ -718,7 +718,7 @@ static int mov_read_mdhd(MOVContext *c, AVIOContext *pb, MOVAtom atom)


version = avio_r8(pb); version = avio_r8(pb);
if (version > 1) { if (version > 1) {
av_log_ask_for_sample(c, "unsupported version %d\n", version);
av_log_ask_for_sample(c->fc, "unsupported version %d\n", version);
return AVERROR_PATCHWELCOME; return AVERROR_PATCHWELCOME;
} }
avio_rb24(pb); /* flags */ avio_rb24(pb); /* flags */


Loading…
Cancel
Save