mirror of https://github.com/mpv-player/mpv
cosmetics: Lessen differences to vo_wii.c.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27989 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
d0a4035bad
commit
21a6361d95
|
@ -547,7 +547,7 @@ static int fb_dev_fd;
|
|||
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_frame(uint8_t *src[])
|
|||
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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue