mirror of https://git.ffmpeg.org/ffmpeg.git
dont ignore MAX_READ_SIZE
Originally committed as revision 6341 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
398f5d3f1d
commit
5fb83c3844
|
@ -1811,13 +1811,12 @@ int av_find_stream_info(AVFormatContext *ic)
|
|||
ret = count;
|
||||
break;
|
||||
}
|
||||
} else {
|
||||
}
|
||||
/* we did not get all the codec info, but we read too much data */
|
||||
if (read_size >= MAX_READ_SIZE) {
|
||||
ret = count;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
/* NOTE: a new stream can be added there if no header in file
|
||||
(AVFMTCTX_NOHEADER) */
|
||||
|
|
Loading…
Reference in New Issue