ext/faad/gstfaad.c: Fix #334748: use fake_codec_data if the first bytes of the first...
authorMichael Smith <msmith@xiph.org>
Wed, 3 May 2006 10:25:46 +0000 (10:25 +0000)
committerMichael Smith <msmith@xiph.org>
Wed, 3 May 2006 10:25:46 +0000 (10:25 +0000)
commitf910e0f4a58505251af8308fa33f646de8d7e5fe
treedac4ecd365df9096b1e73062382e26bfa61ae200
parentf2ff9c1617fcf25df3deaf67841e4cf58508e0fa
ext/faad/gstfaad.c: Fix #334748: use fake_codec_data if the first bytes of the first buffer we process doesn't look l...

Original commit message from CVS:
* ext/faad/gstfaad.c: (gst_faad_setcaps),
(looks_like_valid_header), (gst_faad_chain):
Fix #334748: use fake_codec_data if the first bytes of the first
buffer we process doesn't look like plausible AAC data (e.g.
reserved values for rate, or channels). Fixes playback of Apple's
movie trailers.
ChangeLog
ext/faad/gstfaad.c