]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/mov.c
lavf/concat: compute duration if possible.
[ffmpeg] / libavformat / mov.c
index 86ec95c1e533557990213f7bd5e7177205c2ccf8..137f79b331af08050c7056c3de92058e84cadd12 100644 (file)
@@ -835,7 +835,7 @@ static int mov_read_mdhd(MOVContext *c, AVIOContext *pb, MOVAtom atom)
 
     version = avio_r8(pb);
     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;
     }
     avio_rb24(pb); /* flags */