From ddffafc0b0496564f9d8570fb03ce1d6bf994852 Mon Sep 17 00:00:00 2001 From: Aman Gupta Date: Tue, 14 Jun 2016 11:08:54 -0700 Subject: [PATCH] avformat/utils: in debug mode, print number of streams found before avformat_find_stream_info() Signed-off-by: Michael Niedermayer --- libavformat/utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/utils.c b/libavformat/utils.c index 25c9a1bacc..494379a37d 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -3297,8 +3297,8 @@ int avformat_find_stream_info(AVFormatContext *ic, AVDictionary **options) } if (ic->pb) - av_log(ic, AV_LOG_DEBUG, "Before avformat_find_stream_info() pos: %"PRId64" bytes read:%"PRId64" seeks:%d\n", - avio_tell(ic->pb), ic->pb->bytes_read, ic->pb->seek_count); + av_log(ic, AV_LOG_DEBUG, "Before avformat_find_stream_info() pos: %"PRId64" bytes read:%"PRId64" seeks:%d nb_streams:%d\n", + avio_tell(ic->pb), ic->pb->bytes_read, ic->pb->seek_count, ic->nb_streams); for (i = 0; i < ic->nb_streams; i++) { const AVCodec *codec;