]> git.sesse.net Git - mlt/commitdiff
use interpolation type from filter also in rgb
authorgmarco <g.marco@freenet.de>
Thu, 22 Dec 2011 17:54:59 +0000 (18:54 +0100)
committerDan Dennedy <dan@dennedy.org>
Mon, 26 Dec 2011 22:33:33 +0000 (14:33 -0800)
src/modules/videostab/transform_image.c

index 176742dceee68b41395ecfcf6213381a04a09482..dc5cce1031cec0222c810111442d8b9f3196a095 100644 (file)
@@ -266,9 +266,9 @@ int transformRGB(TransformData* td)
                     + zcos_a * y_d1 + c_s_y -t.y;
                 for (z = 0; z < 3; z++) { // iterate over colors
                     unsigned char* dest = &D_2[(x + y * td->width_dest)*3+z];
-                    interpolateN(dest, myfloor(x_s), myfloor(y_s), D_1,
+                    interpolate(dest, myfloor(x_s), myfloor(y_s), D_1,
                                  td->width_src, td->height_src,
-                                 3, z, td->crop ? 16 : *dest);
+                                 td->crop ? 16 : *dest,3,z);
                 }
             }
         }