avcodec/aacdec_fixed: Fix preparation for resampler
authorNedeljko Babic <nedeljko.babic@imgtec.com>
Wed, 29 Jul 2015 14:46:18 +0000 (16:46 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 29 Jul 2015 14:53:29 +0000 (16:53 +0200)
commit902bfa5b22083f4959de775e2f8f278785d6ff02
tree9add4ed0663ead93a5e3fcb98ea58d1e199d7157
parentd64ba25a4dd7951e6ac63ecad55a1dfe665d15b0
avcodec/aacdec_fixed: Fix preparation for resampler

2nd channel makes sense only for CPE type.

Skip 2nd channel in preparation for resampler (in spectral_to _sample())
depending on block type.

Fixes fate failure with clang ftrapv.

Signed-off-by: Nedeljko Babic <nedeljko.babic@imgtec.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/aacdec_template.c