libfdk-aacdec: Support building with the latest version of fdk-aac
authorMartin Storsjö <martin@martin.st>
Sat, 8 Nov 2014 20:39:44 +0000 (22:39 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 10 Nov 2014 01:46:46 +0000 (02:46 +0100)
commitb44a242c3dfa1225ca4e75135ed5fbe7f0e3c378
treee8f081926723a5e69aca3b1d077129b5f19aba59
parent715ccc2bc47901e587939cf7b92667f343769b0a
libfdk-aacdec: Support building with the latest version of fdk-aac

The latest fdk-aac code drop (from android 5.0) changed the channel
layout enums (changing the value of existing enum constants), and
renamed the option for downmixing.

The failsafe comparison between ctype and FF_ARRAY_ELEMS(channel_counts)
can trigger warnings (-Wtautological-constant-out-of-range-compare)
when building with the old FDK AAC releases, where it can't be
out of range with the enum values used there.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/libfdk-aacdec.c