avcodec/faandct: use typedef instead of #define

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:
Ganesh Ajjanagadde 2015-11-13 11:17:08 -05:00
parent 3fb32ae2cf
commit e9aea6d7cf

View File

@ -29,7 +29,7 @@
#include "libavutil/internal.h"
#include "libavutil/libm.h"
#define FLOAT float
typedef float FLOAT;
/* numbers generated by arbitrary precision arithmetic followed by truncation
to 36 fractional digits (enough for a 128-bit IEEE quad, see /usr/include/math.h