diff mbox series

[FFmpeg-devel,08/20] fftools/ffmpeg_demux: do not log to the demuxer context

Message ID 20221018123701.25002-8-anton@khirnov.net
State Accepted
Commit d8f7ce38da09e0b4c60620a12c796e7958372476
Headers show
Series [FFmpeg-devel,01/20] fftools/ffmpeg_opt: move opening input files to ffmpeg_demux.c | expand


Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Anton Khirnov Oct. 18, 2022, 12:36 p.m. UTC
Only the demuxer itself is supposed to do that.
 fftools/ffmpeg_demux.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series


diff --git a/fftools/ffmpeg_demux.c b/fftools/ffmpeg_demux.c
index fe1b3bd8b7..e5e7cd1a54 100644
--- a/fftools/ffmpeg_demux.c
+++ b/fftools/ffmpeg_demux.c
@@ -81,7 +81,7 @@  static void report_new_stream(InputFile *file, const AVPacket *pkt)
     if (pkt->stream_index < file->nb_streams_warn)
-    av_log(file->ctx, AV_LOG_WARNING,
+    av_log(NULL, AV_LOG_WARNING,
            "New %s stream %d:%d at pos:%"PRId64" and DTS:%ss\n",
            file->index, pkt->stream_index,