Hi, > + case IMGFMT_YUY2: /* YUY2 needs w rounded to 2 */ > + if(vf->priv->w==-3) vf->priv->w=(int)((double)vf->priv->h*w > idth/height/2+0.5)*2; else it should be (vf->priv->h*width/height+1)&(~1) instead of using double/float A'rpi / Astral & ESP-team -- Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu