From: Brian West Date: Mon, 10 Apr 2006 22:14:01 +0000 (+0000) Subject: update X-Git-Tag: v1.0-beta1~2881 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2947a7e431f4f24f6ed897a49e27cbeeaee06d11;p=thirdparty%2Ffreeswitch.git update git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1112 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- 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; }