• Martin Storsjö's avatar
    libfdk-aacdec: Support building with the latest version of fdk-aac · 28396d17
    Martin Storsjö authored
    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.
    
    CC: libav-stable@libav.org
    Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
    28396d17
libfdk-aacdec.c 14.2 KB