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:
Diffstat (limited to 'libavfilter/phase_template.c')
-rw-r--r--libavfilter/phase_template.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/phase_template.c b/libavfilter/phase_template.c
index 491612b826..8450670234 100644
--- a/libavfilter/phase_template.c
+++ b/libavfilter/phase_template.c
@@ -46,7 +46,7 @@
*
* (The result is actually multiplied by 25)
*/
-#define DIFF(a, as, b, bs) ((t) = ((*(a) - (b)[bs]) << 2) + (a)[(as) << 1] - (b)[-(bs)], (t) * (t))
+#define DIFF(a, as, b, bs) ((t) = ((*(a) - (b)[bs]) * 4) + (a)[(as) * 2] - (b)[-(bs)], (t) * (t))
/*
* Find which field combination has the smallest average squared difference