aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-02-14 12:47:43 +0100
committerReinhard Tartler <siretart@tauware.de>2013-02-23 14:39:52 +0100
commit488ffb813514794f088ccd988b2692889c8ca798 (patch)
treece0bc00a27ac0e09ec02e759dc825e1274c7319b /libavformat
parentb786ddc0f2ead744364d9de2caa64723b52da965 (diff)
downloadffmpeg-488ffb813514794f088ccd988b2692889c8ca798.tar.gz
mov: use the format context for logging.
CC:libav-stable@libav.org (cherry picked from commit 56daf10e0313c5e36f43e773f457d2a99ff0df10) Signed-off-by: Reinhard Tartler <siretart@tauware.de>
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 */