[FFmpeg-cvslog] avformat/movenc: Use mov->fc consistently for av_log()

Michael Niedermayer git at videolan.org
Mon Jul 16 20:03:23 EEST 2018


ffmpeg | branch: release/4.0 | Michael Niedermayer <michael at niedermayer.cc> | Wed Jun 27 23:41:52 2018 +0200| [d3536ce8393d03f90ab9355a5b32693b00c23f3a] | committer: Michael Niedermayer

avformat/movenc: Use mov->fc consistently for av_log()

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
(cherry picked from commit 872ea3dfe565098570ad213a6f1eb00a805aec5d)
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d3536ce8393d03f90ab9355a5b32693b00c23f3a
---

 libavformat/movenc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index 4ee423caa8..efddaaf720 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -397,7 +397,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;



More information about the ffmpeg-cvslog mailing list