[FFmpeg-cvslog] mov: use the format context for logging.

Anton Khirnov git at videolan.org
Sun Feb 24 13:19:58 CET 2013


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Thu Feb 14 12:47:43 2013 +0100| [56daf10e0313c5e36f43e773f457d2a99ff0df10] | committer: Anton Khirnov

mov: use the format context for logging.

CC:libav-stable at libav.org

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

 libavformat/mov.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/mov.c b/libavformat/mov.c
index d5a75c4..7fe0548 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -718,7 +718,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 */



More information about the ffmpeg-cvslog mailing list