aac: fix build with hardcoded tables
authorMans Rullgard <mans@mansr.com>
Thu, 18 Oct 2012 14:32:11 +0000 (15:32 +0100)
committerMans Rullgard <mans@mansr.com>
Thu, 18 Oct 2012 18:59:43 +0000 (19:59 +0100)
commit7a12d97eb1aac6621f20cb7bffd0f74f8e46ae2c
tree41252a33d2c16e26622d5327f2953d5e9e8087ee
parente8fe208be8107a55621733b2d0deb2feb762f3d4
aac: fix build with hardcoded tables

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: Mans Rullgard <mans@mansr.com>
libavcodec/aac.h
libavcodec/aac_tablegen.h
libavcodec/aac_tablegen_decl.h