summaryrefslogtreecommitdiff
path: root/fftools
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2022-10-17 12:56:56 +0200
committerAnton Khirnov <anton@khirnov.net>2022-10-25 11:04:42 +0200
commitd8f7ce38da09e0b4c60620a12c796e7958372476 (patch)
treecdf1f94139f32ea2a13bb9edee9dc3961d07c297 /fftools
parent541104f3a3f61eae84ea4bbc283f2e29c2cfa692 (diff)
downloadffmpeg-d8f7ce38da09e0b4c60620a12c796e7958372476.tar.gz
fftools/ffmpeg_demux: do not log to the demuxer context
Only the demuxer itself is supposed to do that.
Diffstat (limited to 'fftools')
-rw-r--r--fftools/ffmpeg_demux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fftools/ffmpeg_demux.c b/fftools/ffmpeg_demux.c
index 16663e2663..015dbf2a29 100644
--- a/fftools/ffmpeg_demux.c
+++ b/fftools/ffmpeg_demux.c
@@ -88,7 +88,7 @@ static void report_new_stream(InputFile *file, const AVPacket *pkt)
if (pkt->stream_index < file->nb_streams_warn)
return;
- 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",
av_get_media_type_string(st->codecpar->codec_type),
file->index, pkt->stream_index,