Author: sayer
Date: 2008-04-30 16:34:57 +0200 (Wed, 30 Apr 2008)
New Revision: 920

Modified:
   trunk/core/AmRtpStream.cpp
Log:
fixed error reporting from RTP receiver

Modified: trunk/core/AmRtpStream.cpp
===================================================================
--- trunk/core/AmRtpStream.cpp  2008-04-30 13:49:42 UTC (rev 919)
+++ trunk/core/AmRtpStream.cpp  2008-04-30 14:34:57 UTC (rev 920)
@@ -222,12 +222,12 @@
   AmRtpPacket* rp = NULL;
   int err = nextPacket(rp);
     
+  if(err <= 0)
+    return err;
+
   if (!rp)
     return 0;
 
-  if(err <= 0)
-    return err;
-
 #ifndef SUPPORT_IPV6
   if(passive) {
     // #ifdef SUPPORT_IPV6

_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to