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:
parent
5efcab64a5
commit
023446528b
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user