diff --git a/libvo/vo_fbdev.c b/libvo/vo_fbdev.c index f3a89faf78..9d03a4fbb8 100644 --- a/libvo/vo_fbdev.c +++ b/libvo/vo_fbdev.c @@ -1064,7 +1064,7 @@ static uint32_t config(uint32_t width, uint32_t height, uint32_t d_width, return 1; } L123123875 = frame_buffer + (out_width - in_width) * fb_pixel_size / - 2 + (out_height - in_height) * fb_line_len / 2; + 2 + ( (out_height - in_height) / 2 ) * fb_line_len; if (verbose > 0) { if (verbose > 1) {