summaryrefslogtreecommitdiffstats
path: root/jni/feature_stab/src/dbreg/dbstabsmooth.cpp
diff options
context:
space:
mode:
authorMichael Bestas <mikeioannina@cyanogenmod.org>2016-01-09 03:23:08 (GMT)
committerMichael Bestas <mikeioannina@cyanogenmod.org>2016-01-09 18:50:16 (GMT)
commit98dfd0d7cd56f3992d58eb28d953031f2aae9d35 (patch)
tree0c3d0acedaf782c57767418e47f9a9647609a0a3 /jni/feature_stab/src/dbreg/dbstabsmooth.cpp
parent6bfdb1bffac4d2e56c7c7a1522f3cc966daff072 (diff)
downloadandroid_packages_apps_Snap-98dfd0d7cd56f3992d58eb28d953031f2aae9d35.zip
android_packages_apps_Snap-98dfd0d7cd56f3992d58eb28d953031f2aae9d35.tar.gz
android_packages_apps_Snap-98dfd0d7cd56f3992d58eb28d953031f2aae9d35.tar.bz2
Snap: Fix jni compiler warnings
Change-Id: I091a8928a9a0674c54759ff8b384259d8f16793e
Diffstat (limited to 'jni/feature_stab/src/dbreg/dbstabsmooth.cpp')
-rw-r--r--jni/feature_stab/src/dbreg/dbstabsmooth.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/jni/feature_stab/src/dbreg/dbstabsmooth.cpp b/jni/feature_stab/src/dbreg/dbstabsmooth.cpp
index dffff8a..2bb5d2e 100644
--- a/jni/feature_stab/src/dbreg/dbstabsmooth.cpp
+++ b/jni/feature_stab/src/dbreg/dbstabsmooth.cpp
@@ -136,7 +136,7 @@ bool db_StabilizationSmoother::smoothMotionAdaptive(/*VP_BIMG *bimg,*/int hsize,
smoothFactor = minSmoothFactor;
// Find the amount of motion that must be compensated so that no "border" pixels are seen in the stable video
- for (smoothFactor = smoothFactor; smoothFactor >= minSmoothFactor; smoothFactor -= 0.01) {
+ for (; smoothFactor >= minSmoothFactor; smoothFactor -= 0.01) {
// Compute the smoothed motion
if(!smoothMotion(inmot, &tmpMotion, smoothFactor))
break;