From db9d39b4b5e5a3c20aeecf787ddeadd88f4906cf Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Tue, 11 Mar 2014 13:41:18 +0100 Subject: [PATCH] avformat: Report the duration analysis reached --- libavformat/utils.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavformat/utils.c b/libavformat/utils.c index fca588b48e..3f400e33a7 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -2395,7 +2395,8 @@ int avformat_find_stream_info(AVFormatContext *ic, AVDictionary **options) /* check max_analyze_duration */ if (av_rescale_q(pkt->dts - st->info->fps_first_dts, st->time_base, AV_TIME_BASE_Q) >= ic->max_analyze_duration) { - av_log(ic, AV_LOG_WARNING, "max_analyze_duration reached\n"); + av_log(ic, AV_LOG_WARNING, "max_analyze_duration %d reached\n", + ic->max_analyze_duration); break; } }