[FFmpeg-devel] [PATCH] aacenc: Correct spreading calculation in the 3GPP psymodel.

Nathan Caldwell saintdev
Sat Oct 30 23:27:32 CEST 2010

Spreading is currently being calculated incorrectly. We were
multiplying the previous band
threshold by the lower spreading factor, and the next band by the
higher spreading
factor. Also, the first spreading loop was using the spreading factor for the
previous band, instead of the spreading factor for the current band.

I've found this fix to be most noticeable in the Tom's Diner sample.
 libavcodec/aacpsy.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-aacenc-Modify-spreading-in-3GPP-psymodel-to-match-th.patch
Type: text/x-patch
Size: 1002 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20101030/a113e0c5/attachment.bin>

More information about the ffmpeg-devel mailing list