diff options
author | Nedeljko Babic <nedeljko.babic@imgtec.com> | 2015-07-20 13:36:20 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-07-22 23:23:29 +0200 |
commit | a9d986c2ced87d074ba307f9d6f213c5caae88ee (patch) | |
tree | aa242d6e80065d4e739a44a5c07c9f06c69b44c0 /libavcodec/cbrt_tablegen.h | |
parent | 4845f6687d4f1ddcb1ed57b09b09f284e8500fc1 (diff) | |
download | ffmpeg-a9d986c2ced87d074ba307f9d6f213c5caae88ee.tar.gz |
avcodec: Minor macro polishing
Use macros from aac_defines.h for adding suffixes
instead of local macros.
Signed-off-by: Nedeljko Babic <nedeljko.babic@imgtec.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/cbrt_tablegen.h')
-rw-r--r-- | libavcodec/cbrt_tablegen.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libavcodec/cbrt_tablegen.h b/libavcodec/cbrt_tablegen.h index 07ef392f65..27a3e3ae29 100644 --- a/libavcodec/cbrt_tablegen.h +++ b/libavcodec/cbrt_tablegen.h @@ -26,12 +26,11 @@ #include <stdint.h> #include <math.h> #include "libavutil/attributes.h" +#include "libavcodec/aac_defines.h" #if USE_FIXED -#define CBRT_RENAME(a) a ## _fixed #define CBRT(x) (int)floor((x).f * 8192 + 0.5) #else -#define CBRT_RENAME(a) a #define CBRT(x) x.i #endif @@ -46,7 +45,7 @@ #else static uint32_t cbrt_tab[1 << 13]; -static av_cold void CBRT_RENAME(cbrt_tableinit)(void) +static av_cold void AAC_RENAME(cbrt_tableinit)(void) { if (!cbrt_tab[(1<<13) - 1]) { int i; |