1
mirror of https://github.com/mpv-player/mpv synced 2024-10-18 10:25:02 +02:00

small fix

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@232 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
szabii 2001-03-28 18:07:24 +00:00
parent 3585c287f8
commit 4a285fe759

View File

@ -276,14 +276,7 @@ static uint32_t draw_frame(uint8_t *src[])
in_height, in_width * (fb_bpp / 8),
in_width, in_width / 2);
} else if ((pixel_format & IMGFMT_BGR_MASK) == IMGFMT_BGR) {
int i;
uint8_t *dst = next_frame;
uint8_t *s = src[0];
for (i = 0; i < in_height; i++) {
memcpy(dst, s, in_width * (fb_bpp / 8));
dst += in_width * (fb_bpp / 8);
s += in_width * (fb_bpp / 8);
}
memcpy(next_frame, src[0], in_width * in_height * (fb_bpp / 8));
} else if ((pixel_format & IMGFMT_RGB_MASK) == IMGFMT_RGB) {
}
return 0;