# HG changeset patch # User arpi # Date 1035387160 0 # Node ID 45d64e3fa09a1f97d59279a46446d043d1724cd5 # Parent 013c255225d89221c71d74432fe653f2f3964a01 If movie height is odd, the picture is placed badly, due to wrong rouding. patch by Balatoni Denes diff -r 013c255225d8 -r 45d64e3fa09a libvo/vo_fbdev.c --- a/libvo/vo_fbdev.c Wed Oct 23 14:46:20 2002 +0000 +++ b/libvo/vo_fbdev.c Wed Oct 23 15:32:40 2002 +0000 @@ -1064,7 +1064,7 @@ 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) {