libfdk-aacdec: Decode the first AAC frame to reliably identify the bitstream
authorOmer Osman <omer.osman@iis.fraunhofer.de>
Mon, 7 Jul 2014 08:28:12 +0000 (10:28 +0200)
committerMartin Storsjö <martin@martin.st>
Mon, 7 Jul 2014 19:09:15 +0000 (22:09 +0300)
commit1e9a93bfca2c2f43a07e01f2ef9fd5cbafe6c22d
treecbbf69543ed1d7bbbe5e6e818089acd944508675
parenta863c97e99bf30a88baa74f83bab9e3ab25984dc
libfdk-aacdec: Decode the first AAC frame to reliably identify the bitstream

For implicit signaling cases (as possible for Spectral Band Replication
and Parametric Stereo Tools), the decoder must decode the first frame to
correctly identify the stream configuration (as called from
avformat_find_stream_info). The mechanism for this is built-in and only
requires adding CODEC_CAP_CHANNEL_CONF to the libfdk-aacdec AVCodec
struct.

Signed-off-by: Omer Osman <omer.osman@iis.fraunhofer.de>
Signed-off-by: Martin Storsjö <martin@martin.st>
libavcodec/libfdk-aacdec.c
libavcodec/version.h