[XviD-devel] typo in image.c

Milan Cutka cutka at szm.sk
Mon Mar 24 15:52:58 CET 2003


Hi,

while working on ffvfw, I've found small typo in image.c, which
disables the possiblity to pass image in XVID_CSP_USER format to
encoder.

Here is patch (against the CVS HEAD):

--- C:\cygwin\home\Administrator\xvid\xvidcore\src\image\image.c        2003-02-15 16:22:18.000000000 +0100
+++ C:\xvid\xvidcore\src\image\image.c  2003-03-24 15:49:13.000000000 +0100
@@ -691,7 +691,7 @@
                {
                        DEC_PICTURE * pic = (DEC_PICTURE*)src;
                        yv12_to_yv12(image->y, image->u, image->v, edged_width, edged_width2,
-                               pic->y, pic->u, pic->v, pic->stride_y, pic->stride_y,
+                               pic->y, pic->u, pic->v, pic->stride_y, pic->stride_uv,
                                width, height, (csp & XVID_CSP_VFLIP));
                }
                break;

Thanks for applying this.
                
  Milan



More information about the XviD-devel mailing list