summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-02-14 12:47:43 +0100
committerAnton Khirnov <anton@khirnov.net>2013-02-23 13:05:16 +0100
commit56daf10e0313c5e36f43e773f457d2a99ff0df10 (patch)
treee4be1222a3f2b94eb63fc914a8588ed80e153c04 /libavformat
parentddfe1246d98f70cdce368a2176196ba26ed7bf2d (diff)
mov: use the format context for logging.
CC:libav-stable@libav.org
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/mov.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c
index d5a75c40eb..7fe0548daa 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 */