# HG changeset patch # User michael # Date 1003622303 0 # Node ID 50037e53d0bcf4054e432e19f2271704b49e6ce6 # Parent 0e4210657f0e4f2f77a5acb884e63de62dc0cc7a 15bpp fix for swscale diff -r 0e4210657f0e -r 50037e53d0bc libvo/vo_x11.c --- a/libvo/vo_x11.c Sat Oct 20 23:57:55 2001 +0000 +++ b/libvo/vo_x11.c Sat Oct 20 23:58:23 2001 +0000 @@ -485,7 +485,7 @@ if(scale_xinc){ SwScale_YV12slice_brg24(src,stride,y,h, - ImageData, image_width*((bpp+7)/8), image_width, bpp, + ImageData, image_width*((bpp+7)/8), image_width, ( depth == 24 ) ? bpp : depth, scale_xinc, scale_yinc); } else { uint8_t *dst=ImageData + ( image_width * y + x ) * ( bpp/8 );