mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-23 19:30:05 +00:00
lavfi/fspp: Simplify a macro.
Silences a warning with clang: warning: implicit conversion from 'int' to 'int16_t' (aka 'short') changes value from 44130 to -21406
This commit is contained in:
parent
48860df34d
commit
93209902ed
@ -31,7 +31,7 @@
|
||||
#define DCTSIZE 8
|
||||
#define DCTSIZE_S "8"
|
||||
|
||||
#define FIX(x,s) ((int) ((x) * (1 << s) + 0.5) & 0xffff)
|
||||
#define FIX(x,s) ((x) * (1 << s) + 0.5)
|
||||
|
||||
#define MULTIPLY16H(x,k) (((x) * (k)) >> 16)
|
||||
#define THRESHOLD(r,x,t) \
|
||||
|
Loading…
Reference in New Issue
Block a user