Browse Source

dont ignore MAX_READ_SIZE

Originally committed as revision 6341 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer 18 years ago
parent
commit
5fb83c3844
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      libavformat/utils.c

+ 1
- 2
libavformat/utils.c View File

@@ -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…
Cancel
Save