summaryrefslogtreecommitdiff
path: root/libavformat/utils.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2015-07-16 03:30:24 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2015-07-16 03:30:24 +0200
commitcdca400c5efa4b149854c8310d83be7ae106b6c7 (patch)
treeb9f8e0d7d7ef34ccafec35b22376b91c94b2ec33 /libavformat/utils.c
parent9901e5318730ad5f9fb3272aa370e7affe168ddb (diff)
avformat/utils: Print stream number in max_analyze_duration exit path
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r--libavformat/utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c
index bcd3c52a46..df0784b33e 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -3334,9 +3334,9 @@ int avformat_find_stream_info(AVFormatContext *ic, AVDictionary **options)
t = FFMAX(t, av_rescale_q(st->info->fps_last_dts - st->info->fps_first_dts, st->time_base, AV_TIME_BASE_Q));
if (t >= (analyzed_all_streams ? max_analyze_duration : max_stream_analyze_duration)) {
- av_log(ic, AV_LOG_VERBOSE, "max_analyze_duration %"PRId64" reached at %"PRId64" microseconds\n",
+ av_log(ic, AV_LOG_VERBOSE, "max_analyze_duration %"PRId64" reached at %"PRId64" microseconds st:%d\n",
max_analyze_duration,
- t);
+ t, pkt->stream_index);
if (ic->flags & AVFMT_FLAG_NOBUFFER)
av_packet_unref(pkt);
break;