[Mplayer-cvslog] CVS: main/libvo vo_x11.c,1.35,1.36

Michael Niedermayer michael at mplayer.dev.hu
Sun Oct 21 01:58:25 CEST 2001


Update of /cvsroot/mplayer/main/libvo
In directory mplayer:/var/tmp.root/cvs-serv17707

Modified Files:
	vo_x11.c 
Log Message:
15bpp fix for swscale


Index: vo_x11.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_x11.c,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- vo_x11.c	19 Oct 2001 02:21:38 -0000	1.35
+++ vo_x11.c	20 Oct 2001 23:58:23 -0000	1.36
@@ -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 );




More information about the MPlayer-cvslog mailing list