aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2018-06-27 23:41:52 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2018-06-28 21:35:01 +0200
commit872ea3dfe565098570ad213a6f1eb00a805aec5d (patch)
treedba21822e99dee9a26ca23bef65d9f7c9ad946df
parent310a49f71df7d4dca49b4bc475c0824eb3eefbcf (diff)
downloadffmpeg-872ea3dfe565098570ad213a6f1eb00a805aec5d.tar.gz
avformat/movenc: Use mov->fc consistently for av_log()
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r--libavformat/movenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index 4ce5c23ab8..fe0a244a8f 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -401,7 +401,7 @@ static int handle_eac3(MOVMuxContext *mov, AVPacket *pkt, MOVTrack *track)
if (avpriv_ac3_parse_header(&hdr, pkt->data, pkt->size) < 0) {
/* drop the packets until we see a good one */
if (!track->entry) {
- av_log(mov, AV_LOG_WARNING, "Dropping invalid packet from start of the stream\n");
+ av_log(mov->fc, AV_LOG_WARNING, "Dropping invalid packet from start of the stream\n");
ret = 0;
} else
ret = AVERROR_INVALIDDATA;