You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avformat/utils: Increase default max_stream_analyze_duration for flv
Fixes: unknown_video.flv Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
@@ -3113,7 +3113,7 @@ int avformat_find_stream_info(AVFormatContext *ic, AVDictionary **options)
|
|||||||
max_analyze_duration = 5*AV_TIME_BASE;
|
max_analyze_duration = 5*AV_TIME_BASE;
|
||||||
max_subtitle_analyze_duration = 30*AV_TIME_BASE;
|
max_subtitle_analyze_duration = 30*AV_TIME_BASE;
|
||||||
if (!strcmp(ic->iformat->name, "flv"))
|
if (!strcmp(ic->iformat->name, "flv"))
|
||||||
max_stream_analyze_duration = 30*AV_TIME_BASE;
|
max_stream_analyze_duration = 90*AV_TIME_BASE;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ic->pb)
|
if (ic->pb)
|
||||||
|
Reference in New Issue
Block a user