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

Michael Niedermayer git at videolan.org
Thu Jun 28 22:37:37 EEST 2018


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Wed Jun 27 23:41:52 2018 +0200| [872ea3dfe565098570ad213a6f1eb00a805aec5d] | committer: Michael Niedermayer

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

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

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

 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;



More information about the ffmpeg-cvslog mailing list