ffmpeg | branch: master | Ganesh Ajjanagadde <[email protected]> | Fri Nov 13 11:17:08 2015 -0500| [e9aea6d7cf17714b4e88e6ea9eba99d8b230d546] | committer: Ganesh Ajjanagadde
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 <[email protected]> Signed-off-by: Ganesh Ajjanagadde <[email protected]> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e9aea6d7cf17714b4e88e6ea9eba99d8b230d546 --- libavcodec/faandct.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/faandct.c b/libavcodec/faandct.c index fc23df0..c8ea328 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 _______________________________________________ ffmpeg-cvslog mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog
