Mercurial > mplayer.hg
comparison libvo/vo_svga.c @ 13865:33a4b3714458
proper gcc4 compile-fix suggested by richard
author | atmos4 |
---|---|
date | Wed, 03 Nov 2004 17:25:38 +0000 |
parents | 87f739790de5 |
children | 05aa13cdf92f |
comparison
equal
deleted
inserted
replaced
13864:96259a2f2142 | 13865:33a4b3714458 |
---|---|
745 | 745 |
746 mpi->flags |= MP_IMGFLAG_DIRECT; | 746 mpi->flags |= MP_IMGFLAG_DIRECT; |
747 mpi->stride[0] = mode_stride; | 747 mpi->stride[0] = mode_stride; |
748 mpi->planes[0] = PageStore[page].vbase + | 748 mpi->planes[0] = PageStore[page].vbase + |
749 y_pos*mode_stride + (x_pos*mpi->bpp)/8; | 749 y_pos*mode_stride + (x_pos*mpi->bpp)/8; |
750 mpi->priv=(int)page; | 750 mpi->priv=(void *)page; |
751 if(verbose>2) | 751 if(verbose>2) |
752 printf("vo_svga: direct render allocated! page=%d\n",page); | 752 printf("vo_svga: direct render allocated! page=%d\n",page); |
753 return(VO_TRUE); | 753 return(VO_TRUE); |
754 } | 754 } |
755 } | 755 } |