From 872ea3dfe565098570ad213a6f1eb00a805aec5d Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 27 Jun 2018 23:41:52 +0200 Subject: [PATCH] avformat/movenc: Use mov->fc consistently for av_log() Signed-off-by: Michael Niedermayer --- libavformat/movenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;