summaryrefslogtreecommitdiff
path: root/libavfilter
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2016-08-26 20:19:29 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2016-08-26 23:09:17 +0200
commit0c7979b43d5b71949c75bdb92488b152d1be74ed (patch)
tree1e31b2a660ec606881e9add5f4e5be8d33731a3d /libavfilter
parente3fbfa561ebb1fc9044e73718bfe44730a3f5ebf (diff)
avfilter/motion_estimation: Fix pre processor formating
IIRC, The spaces are not standard before the # Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/motion_estimation.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavfilter/motion_estimation.c b/libavfilter/motion_estimation.c
index fa6f49dd61..0f9ba21784 100644
--- a/libavfilter/motion_estimation.c
+++ b/libavfilter/motion_estimation.c
@@ -262,10 +262,10 @@ uint64_t ff_me_search_ds(AVMotionEstContext *me_ctx, int x_mb, int y_mb, int *mv
x = mv[0];
y = mv[1];
- #if 1
+#if 1
for (i = 0; i < 8; i++)
COST_P_MV(x + dia2[i][0], y + dia2[i][1]);
- #else
+#else
/* this version skips previously examined 3 or 5 locations based on prev origin */
if (dir_x <= 0)
COST_P_MV(x - 2, y);
@@ -286,7 +286,7 @@ uint64_t ff_me_search_ds(AVMotionEstContext *me_ctx, int x_mb, int y_mb, int *mv
dir_x = mv[0] - x;
dir_y = mv[1] - y;
- #endif
+#endif
} while (x != mv[0] || y != mv[1]);