[SCM] libav/experimental: increase search limit in av_find_stream_info

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:48:13 UTC 2013


The following commit has been merged in the experimental branch:
commit c10824ea67e7faa3fda6e790af8efa0d07b9270e
Author: Måns Rullgård <mans at mansr.com>
Date:   Tue Jun 20 19:46:09 2006 +0000

    increase search limit in av_find_stream_info
    
    Originally committed as revision 5505 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavformat/utils.c b/libavformat/utils.c
index 375a878..5a3af68 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

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list