diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2011-05-24 19:47:07 +0000 |
---|---|---|
committer | Uoti Urpala <uau@mplayer2.org> | 2011-07-06 07:24:52 +0300 |
commit | 94d3e6a710c40806f44c1d39aaa0388c05487b8f (patch) | |
tree | 9604323213f644add0a9b7952ab63374dac2cdc6 /libvo/vo_direct3d.c | |
parent | f52b41600d32fb2f820a4387e79510a24aca7fe0 (diff) | |
download | mpv-94d3e6a710c40806f44c1d39aaa0388c05487b8f.tar.bz2 mpv-94d3e6a710c40806f44c1d39aaa0388c05487b8f.tar.xz |
cleanup: vo_direct3d: Mark a function static
This fixes the warning:
libvo/vo_direct3d.c:984:6: warning: no previous prototype for 'vo_draw_alpha_l8a8'
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33499 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_direct3d.c')
-rw-r--r-- | libvo/vo_direct3d.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libvo/vo_direct3d.c b/libvo/vo_direct3d.c index 65f5a6c2d1..2fb40d0398 100644 --- a/libvo/vo_direct3d.c +++ b/libvo/vo_direct3d.c @@ -979,8 +979,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++) { |