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>
This commit is contained in:
parent
47eeb001e6
commit
fafb10c30c
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user