]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-11222: [core] NACK for multiple packets sends wrong packet after the first one
authorMike Jerris <mike@jerris.com>
Mon, 9 Jul 2018 17:12:56 +0000 (13:12 -0400)
committerMuteesa Fred <muteesafred@hotmail.com>
Tue, 24 Jul 2018 07:21:55 +0000 (07:21 +0000)
src/switch_rtp.c

index 2081daba5248c40e4d024e288ff873d74c558270..16aba214c5909752a6fa5b51c0dda7a08573e347 100644 (file)
@@ -6486,7 +6486,7 @@ static switch_status_t process_rtcp_report(switch_rtp_t *rtp_session, rtcp_msg_t
 
 
                        for (i = 0; i < ntohs(extp->header.length) - 2; i++) {
-                               handle_nack(rtp_session, *nack);
+                               handle_nack(rtp_session, nack[i]);
                        }
 
                        //switch_core_media_gen_key_frame(rtp_session->session);