[FFmpeg-devel] [PATCH 2/4] avcodec/faandct: use typedef instead of #define
Ganesh Ajjanagadde
gajjanagadde at gmail.com
Fri Nov 13 17:42:29 CET 2015
See e.g https://stackoverflow.com/questions/1666353/are-typedef-and-define-the-same-in-c
for rationale.
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde at gmail.com>
---
libavcodec/faandct.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/faandct.c b/libavcodec/faandct.c
index 4053d69..473bc1d 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 simple c code (not as accurate as they could be)
/*
--
2.6.2
More information about the ffmpeg-devel
mailing list