[FFmpeg-cvslog] avformat/utils: Increase default max_stream_analyze_duration for flv

Michael Niedermayer git at videolan.org
Fri Sep 11 01:21:56 CEST 2015


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Fri Sep 11 00:58:37 2015 +0200| [f58e011a1f30332ba824c155078ca701e29aef63] | committer: Michael Niedermayer

avformat/utils: Increase default max_stream_analyze_duration for flv

Fixes: unknown_video.flv

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f58e011a1f30332ba824c155078ca701e29aef63
---

 libavformat/utils.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/utils.c b/libavformat/utils.c
index 660a4ff..db988c0 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -3113,7 +3113,7 @@ int avformat_find_stream_info(AVFormatContext *ic, AVDictionary **options)
         max_analyze_duration        = 5*AV_TIME_BASE;
         max_subtitle_analyze_duration = 30*AV_TIME_BASE;
         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)



More information about the ffmpeg-cvslog mailing list