15bpp fix for swscale

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2326 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
michael 2001-10-20 23:58:23 +00:00
parent a4829b4d28
commit 10065d25db
1 changed files with 1 additions and 1 deletions

View File

@ -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 );