1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

increase search limit in av_find_stream_info

Originally committed as revision 5505 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Måns Rullgård 2006-06-20 19:46:09 +00:00
parent 4726111362
commit c10824ea67

View File

@ -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