Mercurial > mplayer.hg
changeset 33411:320890c90a8a
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'
author | diego |
---|---|
date | Tue, 24 May 2011 19:47:07 +0000 |
parents | f055dbc340f6 |
children | 2a2e9b6551d8 |
files | libvo/vo_direct3d.c |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/vo_direct3d.c Tue May 24 19:28:24 2011 +0000 +++ b/libvo/vo_direct3d.c Tue May 24 19:47:07 2011 +0000 @@ -981,8 +981,9 @@ * 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++) {