mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-23 19:30:05 +00:00
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>
This commit is contained in:
parent
3fb32ae2cf
commit
e9aea6d7cf
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user