1
mirror of https://github.com/mpv-player/mpv synced 2025-01-01 04:36:24 +01:00

Remove a check that is never in any way useful

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25486 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2007-12-21 11:53:55 +00:00
parent 5efcab64a5
commit 023446528b

View File

@ -240,11 +240,6 @@ static int asf_streaming_parse_header(int fd, streaming_ctrl_t* streaming_ctrl)
buffer = chunk_buffer;
size = buffer_size;
if(asfh.cno > 256) {
mp_msg(MSGT_NETWORK,MSGL_ERR,MSGTR_MPDEMUX_ASF_ErrSubChunkNumberInvalid);
return -1;
}
start = sizeof(asfh);
pos = find_asf_guid(buffer, asf_file_header_guid, start, size);