g723.1: avoid saving/restoring excitation
authorMans Rullgard <mans@mansr.com>
Sat, 11 Aug 2012 18:59:08 +0000 (19:59 +0100)
committerMans Rullgard <mans@mansr.com>
Mon, 13 Aug 2012 00:03:25 +0000 (01:03 +0100)
commit35b533e4dede0b1abe3ddbe927c893819006ee75
tree499a66890ec51885b1bee74b4037dd688a47eca6
parent4b728b4712403058ac4dc45daa8b5c03a688fadf
g723.1: avoid saving/restoring excitation

Writing the scaled excitation to a scratch buffer (borrowing the
'audio' array) instead of modifying it in place avoids the need
to save and restore the unscaled values.

Signed-off-by: Mans Rullgard <mans@mansr.com>
libavcodec/g723_1.c