Commit 5fb83c38 authored by Michael Niedermayer's avatar Michael Niedermayer

dont ignore MAX_READ_SIZE

Originally committed as revision 6341 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 398f5d3f
......@@ -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) */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment