mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2025-02-05 03:26:17 +00:00
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);
|
void ff_lpc_end(LPCContext *s);
|
||||||
|
|
||||||
#if USE_FIXED
|
#if USE_FIXED
|
||||||
#define LPC_TYPE int
|
typedef int LPC_TYPE;
|
||||||
#else
|
#else
|
||||||
#ifdef LPC_USE_DOUBLE
|
#ifdef LPC_USE_DOUBLE
|
||||||
#define LPC_TYPE double
|
typedef double LPC_TYPE;
|
||||||
#else
|
#else
|
||||||
#define LPC_TYPE float
|
typedef float LPC_TYPE;
|
||||||
#endif
|
#endif
|
||||||
#endif // USE_FIXED
|
#endif // USE_FIXED
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user