[MPlayer-cvslog] r33499 - trunk/libvo/vo_direct3d.c
diego
subversion at mplayerhq.hu
Tue May 24 21:47:08 CEST 2011
Author: diego
Date: Tue May 24 21:47:07 2011
New Revision: 33499
Log:
vo_direct3d: Mark function only used within the file as static.
This fixes the warning:
libvo/vo_direct3d.c:984:6: warning: no previous prototype for 'vo_draw_alpha_l8a8'
Modified:
trunk/libvo/vo_direct3d.c
Modified: trunk/libvo/vo_direct3d.c
==============================================================================
--- trunk/libvo/vo_direct3d.c Tue May 24 21:28:24 2011 (r33498)
+++ trunk/libvo/vo_direct3d.c Tue May 24 21:47:07 2011 (r33499)
@@ -981,8 +981,9 @@ static int draw_frame(uint8_t *src[])
* These values are then inverted again with
the texture filter D3DBLEND_INVSRCALPHA
*/
-void vo_draw_alpha_l8a8(int w, int h, unsigned char* src, unsigned char *srca,
- int srcstride, unsigned char* dstbase, int dststride)
+static void vo_draw_alpha_l8a8(int w, int h, unsigned char* src,
+ unsigned char *srca, int srcstride,
+ unsigned char* dstbase, int dststride)
{
int y;
for (y = 0; y < h; y++) {
More information about the MPlayer-cvslog
mailing list