[FFmpeg-soc] [soc]: r5908 - mms/mmsh.c
spyfeng
subversion at mplayerhq.hu
Tue Aug 17 15:52:26 CEST 2010
Author: spyfeng
Date: Tue Aug 17 15:52:26 2010
New Revision: 5908
Log:
remove useless check bound because this could never happend.
Modified:
mms/mmsh.c
Modified: mms/mmsh.c
==============================================================================
--- mms/mmsh.c Tue Aug 17 15:50:27 2010 (r5907)
+++ mms/mmsh.c Tue Aug 17 15:52:26 2010 (r5908)
@@ -98,11 +98,6 @@ static ChunkType get_chunk_header(MMSHCo
return AVERROR_INVALIDDATA;
}
- if (ext_header_len > EXT_HEADER_LENGTH) {
- av_log(NULL, AV_LOG_ERROR, "ext_header_len = %d exceed the buffer size %d\n",
- ext_header_len, EXT_HEADER_LENGTH);
- return AVERROR_INVALIDDATA;
- }
res = url_read_complete(mms->mms_hd, ext_header, ext_header_len);
if (res != ext_header_len) {
av_log(NULL, AV_LOG_ERROR, "read ext header failed!\n");
More information about the FFmpeg-soc
mailing list