# HG changeset patch # User diego # Date 1227445330 0 # Node ID 4f791accee108ec30aa0c22637ac0fd6c439fe8d # Parent 85683590690a179af8582bca7fa930f64b26506a cosmetics: Lessen differences to vo_wii.c. diff -r 85683590690a -r 4f791accee10 libvo/vo_fbdev.c --- 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;