Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGanesh Ajjanagadde <gajjanagadde@gmail.com>2015-11-13 19:17:08 +0300
committerGanesh Ajjanagadde <gajjanagadde@gmail.com>2015-11-18 00:33:54 +0300
commite9aea6d7cf17714b4e88e6ea9eba99d8b230d546 (patch)
treeba4de5b9a6038d9b10f9026856379c97cbfd2d2c /libavcodec/faandct.c
parent3fb32ae2cf03e4f33f14a5080eb7924a8536cd28 (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>
Diffstat (limited to 'libavcodec/faandct.c')
-rw-r--r--libavcodec/faandct.c2
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