From 10065d25dbaaf2d414a4c15c8533c30dd3b16f16 Mon Sep 17 00:00:00 2001 From: michael Date: Sat, 20 Oct 2001 23:58:23 +0000 Subject: [PATCH] 15bpp fix for swscale git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2326 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_x11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libvo/vo_x11.c b/libvo/vo_x11.c index 547d59f46a..8a860b3ba8 100644 --- a/libvo/vo_x11.c +++ b/libvo/vo_x11.c @@ -485,7 +485,7 @@ static uint32_t draw_slice( uint8_t *src[],int stride[],int w,int h,int x,int y 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 );