]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Fix crash in audiohook translate to slin 62/1762/1
authorJoshua Colp <jcolp@digium.com>
Fri, 4 Dec 2015 14:15:24 +0000 (10:15 -0400)
committerJoshua Colp <jcolp@digium.com>
Fri, 4 Dec 2015 14:15:24 +0000 (10:15 -0400)
commit0a8fe8de118e587e162234c21f700eb0306ff064
tree89f5231b33d1ac502febcf0344f13bea744af55e
parentcfb3aef45bc96d1f0d654341a640a8e40467bbdf
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