From fafb10c30cdb5735b0685bdeb9f0609104b8ac32 Mon Sep 17 00:00:00 2001 From: Ganesh Ajjanagadde Date: Mon, 16 Nov 2015 16:42:40 -0500 Subject: [PATCH] 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 Signed-off-by: Ganesh Ajjanagadde --- libavcodec/lpc.h | 6 +++--- 1 file 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