codec_speex: Fix trashing normal static frame for AST_FRAME_CNG.
authorRichard Mudgett <rmudgett@digium.com>
Tue, 22 Jul 2014 17:10:36 +0000 (17:10 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Tue, 22 Jul 2014 17:10:36 +0000 (17:10 +0000)
commit197f06bed16cf1babf18a1c611b99ff98aa559e4
tree56c7ced04d2e0105bed5997668e2c6951336a501
parentbb87796f67f8cef493a89e8b685e895142bfdce4
codec_speex: Fix trashing normal static frame for AST_FRAME_CNG.

Made use a local static frame to generate the AST_FRAME_CNG frame when
silence starts.

I don't think the handling of the AST_FRAME_CNG has ever really worked
because there doesn't seem to be any consumers of it.

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@419206 65c4cc65-6c06-0410-ace0-fbb531ad65f3
codecs/codec_speex.c