diff options
author | Ganesh Ajjanagadde <gajjanagadde@gmail.com> | 2015-11-17 00:42:40 +0300 |
---|---|---|
committer | Ganesh Ajjanagadde <gajjanagadde@gmail.com> | 2015-11-20 16:20:13 +0300 |
commit | fafb10c30cdb5735b0685bdeb9f0609104b8ac32 (patch) | |
tree | 18e71e268f99a1ff65dc4ea2f31d57b375a4c6b3 /libavcodec/lpc.h | |
parent | 47eeb001e63b2e2780d70877ecd6aafc720f7f0a (diff) |
avcodec/lpc: replace #define by typedef
See e.g https://stackoverflow.com/questions/1666353/are-typedef-and-define-the-same-in-c
for rationale.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Diffstat (limited to 'libavcodec/lpc.h')
-rw-r--r-- | libavcodec/lpc.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/lpc.h b/libavcodec/lpc.h index 7e0ee3e172..edb1a6bc7d 100644 --- a/libavcodec/lpc.h +++ b/libavcodec/lpc.h @@ -116,12 +116,12 @@ void ff_lpc_init_x86(LPCContext *s); void ff_lpc_end(LPCContext *s); #if USE_FIXED -#define LPC_TYPE int +typedef int LPC_TYPE; #else #ifdef LPC_USE_DOUBLE -#define LPC_TYPE double +typedef double LPC_TYPE; #else -#define LPC_TYPE float +typedef float LPC_TYPE; #endif #endif // USE_FIXED |