X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Faac_defines.h;h=eff63b347c138a791cb481c26066ed247d6b2781;hb=f49264a1c5912ee2bc23e7a09ded1024a178cf04;hp=3c45742ee1f32256388ef2a33944f224bc5e589d;hpb=f7c3ec3a01e4947397e6860bfbd8a91b040bd0b8;p=ffmpeg diff --git a/libavcodec/aac_defines.h b/libavcodec/aac_defines.h index 3c45742ee1f..eff63b347c1 100644 --- a/libavcodec/aac_defines.h +++ b/libavcodec/aac_defines.h @@ -34,11 +34,11 @@ #define AAC_RENAME(x) x ## _fixed #define AAC_RENAME_32(x) x ## _fixed_32 -#define INTFLOAT int -#define INT64FLOAT int64_t -#define SHORTFLOAT int16_t -#define AAC_FLOAT SoftFloat -#define AAC_SIGNE int +typedef int INTFLOAT; +typedef int64_t INT64FLOAT; +typedef int16_t SHORTFLOAT; +typedef SoftFloat AAC_FLOAT; +typedef int AAC_SIGNE; #define FIXR(a) ((int)((a) * 1 + 0.5)) #define FIXR10(a) ((int)((a) * 1024.0 + 0.5)) #define Q23(a) (int)((a) * 8388608.0 + 0.5) @@ -82,11 +82,11 @@ #define AAC_RENAME(x) x #define AAC_RENAME_32(x) x -#define INTFLOAT float -#define INT64FLOAT float -#define SHORTFLOAT float -#define AAC_FLOAT float -#define AAC_SIGNE unsigned +typedef float INTFLOAT; +typedef float INT64FLOAT; +typedef float SHORTFLOAT; +typedef float AAC_FLOAT; +typedef unsigned AAC_SIGNE; #define FIXR(x) ((float)(x)) #define FIXR10(x) ((float)(x)) #define Q23(x) x