[FFmpeg-devel] [FFmpeg-cvslog] avcodec/aacsbr: Split pre dequantization noise factors table

Andreas Cadhalpun andreas.cadhalpun at googlemail.com
Fri Nov 20 00:34:05 CET 2015


On 19.11.2015 13:16, Michael Niedermayer wrote:
> ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Thu Nov 19 12:03:22 2015 +0100| [bfd0e02dd64e912a6b67c25d9f86b3b0b849ad10] | committer: Michael Niedermayer
> 
> avcodec/aacsbr: Split pre dequantization noise factors table
> 
> This allows removing a special case for the fixed point decoder and will
> make error checks simpler
> 
> Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> 
[...]
> diff --git a/libavcodec/sbr.h b/libavcodec/sbr.h
> index 66a88a2..f22c475 100644
> --- a/libavcodec/sbr.h
> +++ b/libavcodec/sbr.h
> @@ -96,8 +96,10 @@ typedef struct SBRData {
>      AAC_FLOAT          q_temp[42][48];
>      uint8_t            s_indexmapped[8][48];
>      ///Envelope scalefactors
> +    uint8_t            env_facs_q[6][48];
>      AAC_FLOAT          env_facs[6][48];
>      ///Noise scalefactors
> +    uint8_t            noise_facs_q[6][48];
>      AAC_FLOAT          noise_facs[3][5];

This looks like a copy & paste error and should probably be:
    uint8_t            noise_facs_q[3][5];

Best regards,
Andreas


More information about the ffmpeg-devel mailing list