Fix infinite loop when loading codec speex
authorJeff Peeler <jpeeler@digium.com>
Wed, 2 Jun 2010 17:29:35 +0000 (17:29 +0000)
committerJeff Peeler <jpeeler@digium.com>
Wed, 2 Jun 2010 17:29:35 +0000 (17:29 +0000)
commitf9467341cdc8b29b03ca0cf2ac894f091cfa50b7
tree29e1c650a8ec0cf21e57557581b188b4c67f1672
parentc2e059292d8dce85a39e795782562b86b4d3f584
Fix infinite loop when loading codec speex

This changes the sample slinear frame data to contain non-zero data so that
translation calculations for speex works when preprocessing and VAD is turned
on. The encoder expects samples to be returned, but when attempted with the
mentioned two options and silent sample frames everything was discarded.

(closes issue #17240)
Reported by: seandarcy

Review: https://reviewboard.asterisk.org/r/682/

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@267065 65c4cc65-6c06-0410-ace0-fbb531ad65f3
include/asterisk/slin.h