Hi, in xvid_stat.c, i think there's a missing "xparam.global = 0;" in enc_init() and a missing "xframe.stride = XDIM;" in enc_main()... bye, Skal