aac_latm_dec: use aac context and aac m4ac
authorThadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Tue, 1 Mar 2011 12:46:12 +0000 (09:46 -0300)
committerRonald S. Bultje <rsbultje@gmail.com>
Mon, 7 Mar 2011 17:25:36 +0000 (12:25 -0500)
commit36864ac3540445c513484017aa9927e942fac24a
treece4da45c75bec380a1a94803832960b509c4ecfb
parent2d9a101a1f5e102d9538de827d9e4a2e8cf17c89
aac_latm_dec: use aac context and aac m4ac

When decoding latm config, use the corresponding aac context and its
m4ac instead of using NULL and a local variable. This fixes decoding of
audio in MPEG TS from SBTVD (the Brazillian Digital TV Sytem), when
there is no extradata. This is the case when using the decoder with
gst-ffmpeg and a GStreamer mpegts demuxer.

Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
libavcodec/aacdec.c