Mercurial > mplayer.hg
diff libvo/vo_svga.c @ 23457:a124f3abc1ec
Replace implicit use of fast_memcpy via macro by explicit use to allow
for future optimization.
author | reimar |
---|---|
date | Tue, 05 Jun 2007 14:27:54 +0000 |
parents | 71b3e04d0555 |
children | 797799e53a68 |
line wrap: on
line diff
--- a/libvo/vo_svga.c Tue Jun 05 14:12:37 2007 +0000 +++ b/libvo/vo_svga.c Tue Jun 05 14:27:54 2007 +0000 @@ -206,7 +206,7 @@ rgbplane=PageStore[0].vbase + (y*mode_stride) + (x*modeinfo->bytesperpixel); for(i=0;i<h;i++){ //i'm afraid that memcpy is better optimized than memset;) - memcpy(rgbplane,zerobuf,w*modeinfo->bytesperpixel); + fast_memcpy(rgbplane,zerobuf,w*modeinfo->bytesperpixel); // memset(rgbplane,0,w*modeinfo->bytesperpixel); rgbplane+=mode_stride; }