Mercurial > mplayer.hg
changeset 27955:4f791accee10
cosmetics: Lessen differences to vo_wii.c.
author | diego |
---|---|
date | Sun, 23 Nov 2008 13:02:10 +0000 |
parents | 85683590690a |
children | 95d14fb247a8 |
files | libvo/vo_fbdev.c |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/vo_fbdev.c Sun Nov 23 12:46:42 2008 +0000 +++ b/libvo/vo_fbdev.c Sun Nov 23 13:02:10 2008 +0000 @@ -547,7 +547,7 @@ static int fb_tty_fd = -1; static size_t fb_size; static uint8_t *frame_buffer; -static uint8_t *center; /* thx .so :) */ +static uint8_t *center; static struct fb_fix_screeninfo fb_finfo; static struct fb_var_screeninfo fb_orig_vinfo; static struct fb_var_screeninfo fb_vinfo; @@ -1074,8 +1074,7 @@ static int draw_slice(uint8_t *src[], int stride[], int w, int h, int x, int y) { - uint8_t *d; - uint8_t *s; + uint8_t *d, *s; d = center + fb_line_len * y + fb_pixel_size * x;