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
pull/310/head
Carl Eugen Hoyos 6 years ago
parent 48860df34d
commit 93209902ed
  1. 2
      libavfilter/vf_fspp.h

@ -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…
Cancel
Save