diff --git a/libavformat/utils.c b/libavformat/utils.c
index 6e828f7..cc9b2bc 100644
|
a
|
b
|
int avformat_find_stream_info(AVFormatContext *ic, AVDictionary **options)
|
| 2956 | 2956 | av_opt_set(ic, "skip_clear", "1", AV_OPT_SEARCH_CHILDREN); |
| 2957 | 2957 | |
| 2958 | 2958 | if (!max_analyze_duration) { |
| 2959 | | if (!strcmp(ic->iformat->name, "flv") && !(ic->ctx_flags & AVFMTCTX_NOHEADER)) { |
| | 2959 | if (( !strcmp(ic->iformat->name, "flv") |
| | 2960 | || !strcmp(ic->iformat->name, "mov,mp4,m4a,3gp,3g2,mj2")) |
| | 2961 | && !(ic->ctx_flags & AVFMTCTX_NOHEADER)) { |
| 2960 | 2962 | max_analyze_duration = 10*AV_TIME_BASE; |
| 2961 | 2963 | } else |
| 2962 | 2964 | max_analyze_duration = 5*AV_TIME_BASE; |