summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-12-21 11:53:55 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-12-21 11:53:55 +0000
commit023446528bbd59aa73ed389bcf5616f4319bb636 (patch)
tree167780b93809902bf9bb16a8683883a1b00f2184 /stream
parent5efcab64a5c85850450ef17af90be36787a6e1cb (diff)
downloadmpv-023446528bbd59aa73ed389bcf5616f4319bb636.tar.bz2
mpv-023446528bbd59aa73ed389bcf5616f4319bb636.tar.xz
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
Diffstat (limited to 'stream')
-rw-r--r--stream/asf_streaming.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/stream/asf_streaming.c b/stream/asf_streaming.c
index 9de4320541..87b11924f1 100644
--- a/stream/asf_streaming.c
+++ b/stream/asf_streaming.c
@@ -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);