# HG changeset patch # User michael # Date 1013436271 0 # Node ID 90cf53f47ab701e7f837570228f21a69fbf51584 # Parent 4df2400b052767d461f3da56277c9d69220a9d05 minor rounding bugfix in the aspect stuff diff -r 4df2400b0527 -r 90cf53f47ab7 libvo/vo_x11.c --- a/libvo/vo_x11.c Mon Feb 11 13:45:26 2002 +0000 +++ b/libvo/vo_x11.c Mon Feb 11 14:04:31 2002 +0000 @@ -480,7 +480,7 @@ SwsContext *oldContext= swsContext; if(newAspect>aspect) newW= (newH*aspect + (1<<15))>>16; - else newH= (newW*(1<<16) + (1<<15)) /aspect; + else newH= ((newW<<16) + (aspect>>1)) /aspect; old_vo_dwidth= vo_dwidth; old_vo_dheight= vo_dheight;