changeset 25458:535b528a7242

Remove a check that is never in any way useful
author reimar
date Fri, 21 Dec 2007 11:53:55 +0000
parents 0926055fe5b8
children 133905f56a89
files stream/asf_streaming.c
diffstat 1 files changed, 0 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/stream/asf_streaming.c	Fri Dec 21 11:47:09 2007 +0000
+++ b/stream/asf_streaming.c	Fri Dec 21 11:53:55 2007 +0000
@@ -240,11 +240,6 @@
   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);