Module: sems
Branch: 1.4
Commit: f0a3aa541b766a9a11fcce6776c080dd546f4da8
URL:    
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=f0a3aa541b766a9a11fcce6776c080dd546f4da8

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 b1c6209..5c841d0 100644
--- a/core/AmRtpStream.cpp
+++ b/core/AmRtpStream.cpp
@@ -793,7 +793,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

Reply via email to