]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
update
authorBrian West <brian@freeswitch.org>
Mon, 10 Apr 2006 22:14:01 +0000 (22:14 +0000)
committerBrian West <brian@freeswitch.org>
Mon, 10 Apr 2006 22:14:01 +0000 (22:14 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1112 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_rtp.c

index d27e70e85e536646d18aca267627612603e002cc..8ca5c526f886af7a358854744aff0531f05ba265 100644 (file)
@@ -487,8 +487,7 @@ static int rtp_common_read(switch_rtp *rtp_session, void *data, int *payload_typ
                                                "error: srtp unprotection failed with code %d%s\n", stat,
                                                stat == err_status_replay_fail ? " (replay check failed)" :
                                                stat == err_status_auth_fail ? " (auth check failed)" : "");
-                               switch_yield(1000);
-                               continue;
+                               return -1;
                        }
                        bytes = sbytes;
                }