--- trunk/xvidcore/examples/xvid_bstat.c 2003/02/22 18:54:19 895 +++ trunk/xvidcore/examples/xvid_bstat.c 2003/02/22 21:37:50 896 @@ -74,6 +74,7 @@ #include #include +#include #include // needed for log10 #include // only needed for gettimeofday @@ -351,7 +352,7 @@ xframe.image = image; xframe.stride = XDIM; - xframe.colorspace = XVID_CSP_YV12; // defined in + xframe.colorspace = XVID_CSP_I420; // defined in xframe.intra = -1; // let the codec decide between I-frame (1) and P-frame (0) @@ -424,7 +425,7 @@ xframe.length = 1234; // *m4v_size; xframe.image = out_buffer; xframe.stride = XDIM; - xframe.colorspace = XVID_CSP_YV12; // XVID_CSP_USER is fastest (no memcopy involved) + xframe.colorspace = XVID_CSP_I420; // XVID_CSP_USER is fastest (no memcopy involved) xerr = xvid_decore(dec_handle, XVID_DEC_DECODE, &xframe, NULL);