]> git.sesse.net Git - mlt/blobdiff - src/framework/mlt_geometry.c
Luma and composite fixes
[mlt] / src / framework / mlt_geometry.c
index 956225ac791afa3851c2e757a5f3535664cacbfa..8fa30b59afba20987e9996ff633435f2979488f9 100644 (file)
@@ -279,7 +279,7 @@ int mlt_geometry_parse_item( mlt_geometry this, mlt_geometry_item item, char *va
 static inline float linearstep( float start, float end, float position, int length )
 {
        float o = ( end - start ) / length;
-       return start + position * o + 0.5;
+       return start + position * o;
 }
 
 // Fetch a geometry item for an absolute position