[rtmpdump] r323 - trunk/librtmp/rtmp.c

hyc subversion at mplayerhq.hu
Wed Mar 10 11:56:35 CET 2010


Author: hyc
Date: Wed Mar 10 11:56:34 2010
New Revision: 323

Log:
Drop assert

Modified:
   trunk/librtmp/rtmp.c

Modified: trunk/librtmp/rtmp.c
==============================================================================
--- trunk/librtmp/rtmp.c	Wed Mar 10 11:56:01 2010	(r322)
+++ trunk/librtmp/rtmp.c	Wed Mar 10 11:56:34 2010	(r323)
@@ -919,10 +919,7 @@ ReadN(RTMP *r, char *buffer, int n)
 	}
 
       if (r->Link.protocol & RTMP_FEATURE_HTTP)
-        {
-          r->m_resplen -= nBytes;
-	  assert(r->m_resplen >= 0);
-	}
+	r->m_resplen -= nBytes;
 
 #ifdef CRYPTO
       if (r->Link.rc4keyIn)


More information about the rtmpdump mailing list