# HG changeset patch # User arpi # Date 1035488408 0 # Node ID 4bb38736c381bda13d3190a3039e427c5955baf9 # Parent 7674e94baff7bb2c6352f37da1b4e0ba2ed2b4ca 10l... #ifdef doesn't work for enums :( diff -r 7674e94baff7 -r 4bb38736c381 libmpcodecs/vd_ffmpeg.c --- a/libmpcodecs/vd_ffmpeg.c Thu Oct 24 18:13:24 2002 +0000 +++ b/libmpcodecs/vd_ffmpeg.c Thu Oct 24 19:40:08 2002 +0000 @@ -357,7 +357,7 @@ case PIX_FMT_YUV420P: ctx->best_csp=IMGFMT_YV12;break; //mpegs case PIX_FMT_YUV422P: ctx->best_csp=IMGFMT_422P;break; //mjpeg case PIX_FMT_YUV444P: ctx->best_csp=IMGFMT_444P;break; //??? -#ifdef PIX_FMT_YUV411P +#if LIBAVCODEC_BUILD >= 4631 case PIX_FMT_YUV411P: ctx->best_csp=IMGFMT_411P;break; //dv ntsc #endif case PIX_FMT_YUV422: ctx->best_csp=IMGFMT_YUY2;break; //???