summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--jni/feature_mos_jni.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/jni/feature_mos_jni.cpp b/jni/feature_mos_jni.cpp
index 4ad3db3..5d02793 100644
--- a/jni/feature_mos_jni.cpp
+++ b/jni/feature_mos_jni.cpp
@@ -635,7 +635,7 @@ JNIEXPORT jbyteArray JNICALL Java_com_android_camera_panorama_Mosaic_getFinalMos
for(int i=0; i<mosaicWidth; i+=2)
{
V[j*mosaicWidth+i] = V[(2*j)*mosaicWidth+i]; // V
- V[j*mosaicWidth+i+1] = U[(2*j)*mosaicWidth+i+1]; // U
+ V[j*mosaicWidth+i+1] = U[(2*j)*mosaicWidth+i]; // U
}
}