|
|
@ -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)); |
|
|
|
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)) { |
|
|
|
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, |
|
|
|
max_analyze_duration, |
|
|
|
t); |
|
|
|
t, pkt->stream_index); |
|
|
|
if (ic->flags & AVFMT_FLAG_NOBUFFER) |
|
|
|
if (ic->flags & AVFMT_FLAG_NOBUFFER) |
|
|
|
av_packet_unref(pkt); |
|
|
|
av_packet_unref(pkt); |
|
|
|
break; |
|
|
|
break; |
|
|
|