Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <ceffmpeg@gmail.com>2019-04-18 15:05:21 +0300
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>2019-04-20 01:20:07 +0300
commit93209902ede33c91c701f528ad979020fd3a1118 (patch)
tree692bf05647c4f632402ea3bc4e032cd97f117f82 /libavfilter/vf_fspp.h
parent48860df34df63bbe29f1bda2865024ec4889ae7c (diff)
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
Diffstat (limited to 'libavfilter/vf_fspp.h')
-rw-r--r--libavfilter/vf_fspp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_fspp.h b/libavfilter/vf_fspp.h
index 802db1452a..73d8c7c771 100644
--- a/libavfilter/vf_fspp.h
+++ b/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) \