Commit a0b129ab authored by michael's avatar michael

dont ignore MAX_READ_SIZE


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@6341 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent f0844fb8
...@@ -1811,13 +1811,12 @@ int av_find_stream_info(AVFormatContext *ic) ...@@ -1811,13 +1811,12 @@ int av_find_stream_info(AVFormatContext *ic)
ret = count; ret = count;
break; break;
} }
} else { }
/* we did not get all the codec info, but we read too much data */ /* we did not get all the codec info, but we read too much data */
if (read_size >= MAX_READ_SIZE) { if (read_size >= MAX_READ_SIZE) {
ret = count; ret = count;
break; break;
} }
}
/* NOTE: a new stream can be added there if no header in file /* NOTE: a new stream can be added there if no header in file
(AVFMTCTX_NOHEADER) */ (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