Correct pulse amplitude application - a negative or 0 coefficient implies the
authorRobert Swain <robert.swain@gmail.com>
Thu, 11 Sep 2008 01:22:34 +0000 (01:22 +0000)
committerRobert Swain <robert.swain@gmail.com>
Thu, 11 Sep 2008 01:22:34 +0000 (01:22 +0000)
commitfebcbd65fa3d00cfdfbfabd1c2a8fb8e659e1ca1
tree01960d9d11d592e4433a88a95ee157f87a25569c
parent67ce33162aa93bee1a5f9e8d6f00060329fa67da
Correct pulse amplitude application - a negative or 0 coefficient implies the
pulse is subtracted, else it is added. Also avoid a divide by 0.

Based on a patch by Alex Converse (alex converse gmail com)
Fixes part of issue632

Originally committed as revision 15294 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/aac.c