From e9aea6d7cf17714b4e88e6ea9eba99d8b230d546 Mon Sep 17 00:00:00 2001 From: Ganesh Ajjanagadde Date: Fri, 13 Nov 2015 11:17:08 -0500 Subject: [PATCH] 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 Signed-off-by: Ganesh Ajjanagadde --- libavcodec/faandct.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/faandct.c b/libavcodec/faandct.c index fc23df0796..c8ea328f6d 100644 --- a/libavcodec/faandct.c +++ b/libavcodec/faandct.c @@ -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