[FFmpeg-devel] [aacdec] Parse and drop gain control data, so that SSR packets decode.

Alex Converse alex.converse at gmail.com
Wed Feb 21 05:56:36 EET 2018


On Tue, Feb 20, 2018 at 4:56 PM, Dale Curtis <dalecurtis at chromium.org> wrote:
> On Tue, Feb 20, 2018 at 4:18 PM, Alex Converse <alex.converse at gmail.com>
> wrote:
>
>>
>> I would make this uint8_t
>>
>
> Done.
>
>
>> I would drop this stack struck and replace the leaf get_bits() with
>> skip bits. It makes the code that much harder to exploit and there is
>> no point in storing data we don't plan on decoding
>>
>
> Done.
>
>
>> This block seems funny. decode_gain_control() always returns zero.
>> Maybe make this warn once per stream when present like some of the
>> other AAC warn
>> cases.
>>
>
> Done. I've added an AACContext::warn_gain_control member to do this.
>
> This patch set also changes the attribution from Robert Swain to Maxim
> Gavrilov based on svn blame of the SoC repository after discussion at
> https://trac.ffmpeg.org/ticket/1693#comment:34
>

LGTM


More information about the ffmpeg-devel mailing list