Mercurial > mplayer.hg
comparison libvo/vesa_lvo.c @ 32202:6c9a3a4c93a7
Mark vlvo_draw_slice_420() as static, it is not used outside the file; fixes:
libvo/vesa_lvo.c:169: warning: no previous prototype for 'vlvo_draw_slice_420'
author | diego |
---|---|
date | Fri, 17 Sep 2010 10:11:24 +0000 |
parents | bd74742452c5 |
children | 42536d4a06a8 |
comparison
equal
deleted
inserted
replaced
32201:bd74742452c5 | 32202:6c9a3a4c93a7 |
---|---|
164 ioctl( lvo_handler,MGA_VID_OFF,0 ); | 164 ioctl( lvo_handler,MGA_VID_OFF,0 ); |
165 munmap(frames[0],mga_vid_config.frame_size*mga_vid_config.num_frames); | 165 munmap(frames[0],mga_vid_config.frame_size*mga_vid_config.num_frames); |
166 if(lvo_handler != -1) close(lvo_handler); | 166 if(lvo_handler != -1) close(lvo_handler); |
167 } | 167 } |
168 | 168 |
169 uint32_t vlvo_draw_slice_420(uint8_t *image[], int stride[], int w,int h,int x,int y) | 169 static uint32_t vlvo_draw_slice_420(uint8_t *image[], int stride[], |
170 int w, int h, int x, int y) | |
170 { | 171 { |
171 uint8_t *src; | 172 uint8_t *src; |
172 uint8_t *dest; | 173 uint8_t *dest; |
173 uint32_t bespitch,bespitch2; | 174 uint32_t bespitch,bespitch2; |
174 int i; | 175 int i; |