diff options
author | Ganesh Ajjanagadde <gajjanagadde@gmail.com> | 2015-11-13 11:17:08 -0500 |
---|---|---|
committer | Ganesh Ajjanagadde <gajjanagadde@gmail.com> | 2015-11-17 16:33:54 -0500 |
commit | e9aea6d7cf17714b4e88e6ea9eba99d8b230d546 (patch) | |
tree | ba4de5b9a6038d9b10f9026856379c97cbfd2d2c | |
parent | 3fb32ae2cf03e4f33f14a5080eb7924a8536cd28 (diff) |
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>
-rw-r--r-- | libavcodec/faandct.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |