]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Fix crash in audiohook translate to slin 59/1759/1
authorJonathan Rose <jrose@digium.com>
Wed, 2 Dec 2015 20:11:08 +0000 (14:11 -0600)
committerJonathan Rose <jrose@digium.com>
Thu, 3 Dec 2015 22:04:39 +0000 (16:04 -0600)
commit072d94183ce2b6d2272543732dd5d47390099bb3
tree78612d54e5882d0b2c1573fa69692602d677e958
parentcfb146e055966f39e40121a6d1b19bbd57199fbe
Fix crash in audiohook translate to slin

This patch fixes a crash which would occur when an audiohook was
applied to a channel using an audio codec that could not be translated
to signed linear (such as when using pass-through codecs like OPUS or
when the codec translator module for the format in use is not loaded).

ASTERISK-25498 #close
Reported by: Ben Langfeld

Change-Id: Ib6ea7373fcc22e537cad373996136636201f4384
main/audiohook.c