[FFmpeg-devel] [PATCH 1/3] [GSoC] [AAC] aacenc: Add support for Perceptual Noise Substitution energy values

Claudio Freire klaussfreire at gmail.com
Mon Apr 13 04:52:03 CEST 2015


On Sun, Apr 12, 2015 at 11:49 PM, Claudio Freire <klaussfreire at gmail.com> wrote:
> On Sun, Apr 12, 2015 at 1:50 AM, Rostislav Pehlivanov
> <atomnuker at gmail.com> wrote:
>> +    int diff, off_sf = sce->sf_idx[0], off_pns = sce->sf_idx[0];
>
>
> If you take a look at the decoder, off_pns has to be initialized as off_pns - 90


Sorry, hit send prematurely by mistake.

Adding -90 there will probably invalidate parts of the following
patches that deal with that offset (like that -70 at the second
patch), but it's worth fixing.


More information about the ffmpeg-devel mailing list