From 2947a7e431f4f24f6ed897a49e27cbeeaee06d11 Mon Sep 17 00:00:00 2001 From: Brian West Date: Mon, 10 Apr 2006 22:14:01 +0000 Subject: [PATCH] update git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1112 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_rtp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/switch_rtp.c b/src/switch_rtp.c index d27e70e85e..8ca5c526f8 100644 --- a/src/switch_rtp.c +++ b/src/switch_rtp.c @@ -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; }