Parse and drop gain control data, so that SSR packets decode.
authorDale Curtis <dalecurtis@chromium.org>
Fri, 16 Feb 2018 00:22:55 +0000 (16:22 -0800)
committerAlex Converse <alex.converse@gmail.com>
Thu, 22 Feb 2018 02:17:24 +0000 (18:17 -0800)
commita246701e9abe8ef7cb9b0dd9fb5fa877e78334ef
tree0092f0aacfdabda773e99d757173f567e9e4776a
parentcd98f20b4abac8241ef7f922eb85ba6fe3fe230b
Parse and drop gain control data, so that SSR packets decode.

This will result in poor quality audio for SSR streams, but they
will at least demux and decode without error; partially fixing
ticket #1693.

This pulls in the decode_gain_control() function from the
ffmpeg summer-of-code repo (original author Maxim Gavrilov) at
svn://svn.mplayerhq.hu/soc/aac/aac.c with some minor modifications
and adds AOT_AAC_SSR to decode_audio_specific_config_gb().

Signed-off-by: Dale Curtis <dalecurtis@chromium.org>
Co-authored-by: Maxim Gavrilov <maxim.gavrilov@gmail.com>
libavcodec/aac.h
libavcodec/aacdec_template.c