From 5fb83c384480c76bb4b05248c09f9c4bc77ce4f4 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 26 Sep 2006 17:25:28 +0000 Subject: [PATCH] dont ignore MAX_READ_SIZE Originally committed as revision 6341 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/utils.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavformat/utils.c b/libavformat/utils.c index 425db9a..910aaca 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -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) */ -- 2.7.4