From: hyc Date: Wed, 10 Mar 2010 10:56:34 +0000 (+0000) Subject: Drop assert X-Git-Tag: v2.4~212 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=680c7e3451c84d7d483710aaf3cce60edd5c576f;p=rtmpdump Drop assert git-svn-id: svn://svn.mplayerhq.hu/rtmpdump/trunk@323 400ebc74-4327-4243-bc38-086b20814532 --- diff --git a/librtmp/rtmp.c b/librtmp/rtmp.c index f8f1c41..343bae9 100644 --- a/librtmp/rtmp.c +++ b/librtmp/rtmp.c @@ -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)