summaryrefslogtreecommitdiff
path: root/libavcodec/faanidct.c
diff options
context:
space:
mode:
authorGanesh Ajjanagadde <gajjanagadde@gmail.com>2015-11-16 17:10:43 -0500
committerGanesh Ajjanagadde <gajjanagadde@gmail.com>2015-11-20 08:20:53 -0500
commit8d48c3700674af3f854ac56262a33359c2b9b2ec (patch)
tree41d980880384442280485f93a303f052fef1441d /libavcodec/faanidct.c
parent736845b0cd7192d175af19d15ecfec37a8163bfb (diff)
downloadffmpeg-8d48c3700674af3f854ac56262a33359c2b9b2ec.tar.gz
avcodec/faanidct: 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>
Diffstat (limited to 'libavcodec/faanidct.c')
-rw-r--r--libavcodec/faanidct.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/faanidct.c b/libavcodec/faanidct.c
index ca82f778ba..bbaaa3fd5d 100644
--- a/libavcodec/faanidct.c
+++ b/libavcodec/faanidct.c
@@ -22,7 +22,7 @@
#include "libavutil/common.h"
/* To allow switching to double. */
-#define FLOAT float
+typedef float FLOAT;
#define B0 1.0000000000000000000000
#define B1 1.3870398453221474618216 // cos(pi*1/16)sqrt(2)