summaryrefslogtreecommitdiff
path: root/libavformat/utils.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2006-09-26 17:25:28 +0000
committerMichael Niedermayer <michaelni@gmx.at>2006-09-26 17:25:28 +0000
commit5fb83c384480c76bb4b05248c09f9c4bc77ce4f4 (patch)
tree353f9d264db09ebd20122950396e0ce8d13b2dee /libavformat/utils.c
parent398f5d3f1db27393d1b03ad7dd26cb1d82b9448b (diff)
dont ignore MAX_READ_SIZE
Originally committed as revision 6341 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r--libavformat/utils.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c
index 425db9a28a..910aaca4e6 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) */