mov: use the format context for logging.
CC:libav-stable@libav.org
(cherry picked from commit 56daf10e03
)
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
This commit is contained in:

committed by
Reinhard Tartler

parent
b786ddc0f2
commit
488ffb8135
@@ -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 */
|
||||
|
Reference in New Issue
Block a user