]> git.ipfire.org Git - thirdparty/asterisk.git/commit
rtp_engine: fix rtp payloads copy and improve argument names
authorScott Griepentrog <sgriepentrog@digium.com>
Fri, 25 Oct 2013 21:51:39 +0000 (21:51 +0000)
committerScott Griepentrog <sgriepentrog@digium.com>
Fri, 25 Oct 2013 21:51:39 +0000 (21:51 +0000)
commitceab8bf73c700b8fcd13dc2b2723be2f12156670
tree59134af3b4dc211c5bc12b8458af324836bdd216
parent08f1768dc31e5e6d346c7df963c6a4698982c6a5
rtp_engine: fix rtp payloads copy and improve argument names

In function ast_rtp_instance_early _bridge_make_compatible the
use of instance 0/1 as arguments doesn't clearly communicate a
direction that the copying of payloads from the source channel
to the destination channel will occur, making it more probable
to have the arguments to ast_rtp_codecs_payloads_copy() put in
the reverse order.  This patch renames the arguments with _dst
and _src suffixes and corrects the copy direction.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@402000 65c4cc65-6c06-0410-ace0-fbb531ad65f3
include/asterisk/rtp_engine.h
main/rtp_engine.c