• Mans Rullgard's avatar
    aac: fix build with hardcoded tables · 7a12d97e
    Mans Rullgard authored
    aac_tablegen.h includes aac.h for the POW_SF2_ZERO definition, but
    this also pulls in a raft of other headers, some of which are not
    safe to use in code built with the host compiler.
    
    Moving POW_SF2_ZERO to aac_tablegen_decl.h, where the declaration
    of the array it relates to already resides, fixes the problems.
    Signed-off-by: 's avatarMans Rullgard <mans@mansr.com>
    7a12d97e
aac_tablegen.h 1.28 KB