Module: sems Branch: 1.5 Commit: 92a91f1085c5227a2e3a5a456e824c8acad22358 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=92a91f1085c5227a2e3a5a456e824c8acad22358
Author: Raphael Coeffic <[email protected]> Committer: Raphael Coeffic <[email protected]> Date: Mon Mar 4 11:40:32 2013 +0100 b/f: packet index 0 is perfectly legal --- core/AmRtpStream.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/core/AmRtpStream.cpp b/core/AmRtpStream.cpp index 02a7e37..61427a8 100644 --- a/core/AmRtpStream.cpp +++ b/core/AmRtpStream.cpp @@ -1022,7 +1022,7 @@ inline void PacketMem::freePacket(AmRtpPacket* p) { if (!p) return; int idx = p-packets; - assert(idx > 0); + assert(idx >= 0); assert(idx < MAX_PACKETS); if(!used[idx]) { _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
