From c10824ea67e7faa3fda6e790af8efa0d07b9270e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?M=C3=A5ns=20Rullg=C3=A5rd?= <mans@mansr.com>
Date: Tue, 20 Jun 2006 19:46:09 +0000
Subject: [PATCH] increase search limit in av_find_stream_info

Originally committed as revision 5505 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 libavformat/utils.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/utils.c b/libavformat/utils.c
index 375a878059e..5a3af68e740 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -1846,7 +1846,7 @@ static int try_decode_frame(AVStream *st, const uint8_t *data, int size)
 #define MAX_READ_SIZE        5000000
 
 /* maximum duration until we stop analysing the stream */
-#define MAX_STREAM_DURATION  ((int)(AV_TIME_BASE * 2.0))
+#define MAX_STREAM_DURATION  ((int)(AV_TIME_BASE * 3.0))
 
 /**
  * Read the beginning of a media file to get stream information. This
-- 
GitLab