aacenc_tns: simplify encoding function
authorRostislav Pehlivanov <atomnuker@gmail.com>
Sat, 17 Oct 2015 09:58:06 +0000 (10:58 +0100)
committerRostislav Pehlivanov <atomnuker@gmail.com>
Sat, 17 Oct 2015 10:10:26 +0000 (11:10 +0100)
commitbf39beca8784077a3918de0933eaaa84a94e42a4
treed3dade3b2813f78b8882156d7fcb093b183d3164
parentf3ad901a32c95239f302f173b866b82fb1f6cdf9
aacenc_tns: simplify encoding function

It's simpler and has 2 less levels than the previous which
was practically lifted from the decoder with put_bits() instead
of get_bits().
libavcodec/aacenc_tns.c