filter_avdeinterlace.c: bugfix (kdenlive-672) deinterlace only works on left half...
[melted] / src / modules / avformat / filter_avdeinterlace.c
index 6c2a6ff..8dd5636 100644 (file)
@@ -276,11 +276,11 @@ static int mlt_avpicture_deinterlace(AVPicture *dst, const AVPicture *src,
        else {
       if (src == dst) {
           deinterlace_bottom_field_inplace(dst->data[0], dst->linesize[0],
-                               width, height);
+                               width<<1, height);
       } else {
           deinterlace_bottom_field(dst->data[0],dst->linesize[0],
                                       src->data[0], src->linesize[0],
-                                      width, height);
+                                      width<<1, height);
       }
        }