]> git.ipfire.org Git - thirdparty/asterisk.git/commit
bridge_softmix: Ignore non-voice frames from translator
authorSean Bright <sean.bright@gmail.com>
Mon, 20 Mar 2017 21:27:24 +0000 (17:27 -0400)
committerSean Bright <sean.bright@gmail.com>
Mon, 20 Mar 2017 21:31:28 +0000 (15:31 -0600)
commitaac3c94ca44e6b49134ad896cf8c5e523bc52a48
tree0c404c8589823e66704e340577db3d2e33c3b549
parent8c529c4f927ed1ba579fac41aa38c713d76d86d3
bridge_softmix: Ignore non-voice frames from translator

Some codecs - codec_speex specifically - take voice frames and return
other types of frames, like CNG. If we subsequently treat those as
voice frames, we'll run into trouble when destroying the frame because
of the requirement that each voice frame have an associated format.

ASTERISK-26880 #close
Reported by: Kirsty Tyerman

Change-Id: I43f8450c48fb276ad8b99db8512be82949c1ca7c
bridges/bridge_softmix.c