]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_rtp_asterisk: Fix bug in function CHANNEL(rtcp, all_rtt) 08/4708/2
authorAaron An <anjb@ti-net.com.cn>
Tue, 10 Jan 2017 11:54:16 +0000 (19:54 +0800)
committerJoshua Colp <jcolp@digium.com>
Thu, 12 Jan 2017 22:55:45 +0000 (16:55 -0600)
commit0047b1bc4962b5051608c8f7a02a8b03ee4d7ec5
treee613a6455b144c33cf647d1b026b2f32be958ddf
parentac4d6828f5b99ff7de8e14bf33013725c029e248
res_rtp_asterisk:  Fix bug in function CHANNEL(rtcp, all_rtt)

Function CHANNEL(rtcp,all_rtt) CHANNEL(rtcp,all_loss) CHANNEL(rtcp,all_jitter)
always return 0.0 due to wrong define of macro "AST_RTP_SATA_SET" and
"AST_RTP_STAT_STRCPY".
It should compare "combined" with "stat" not "current_stat".

ASTERISK-26710 #close
Reported-by: Aaron An
Tested-by: AaronAn
Change-Id: Id4140fafbf92e2db689dac5b17d9caa009028a15
include/asterisk/rtp_engine.h