Module: sems Branch: master Commit: 709ad69bd7368e2457477d74b293e249bb17b5da URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=709ad69bd7368e2457477d74b293e249bb17b5da
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 f8a3788..4be3695 100644 --- a/core/AmRtpStream.cpp +++ b/core/AmRtpStream.cpp @@ -1141,7 +1141,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
