# HG changeset patch # User atmos4 # Date 1027895344 0 # Node ID a9ba8559ca6f2d5646d3f385b1f98bf47df307d5 # Parent 2d7dfcc796512b773949d81e558361c34d9bacfc 10l to dunno diff -r 2d7dfcc79651 -r a9ba8559ca6f libmpcodecs/vd_ffmpeg.c --- a/libmpcodecs/vd_ffmpeg.c Sun Jul 28 22:09:03 2002 +0000 +++ b/libmpcodecs/vd_ffmpeg.c Sun Jul 28 22:29:04 2002 +0000 @@ -86,8 +86,11 @@ case IMGFMT_YV12: case IMGFMT_IYUV: case IMGFMT_I420: +#if LIBAVCODEC_BUILD >= 4615 if(ctx->yvu9_support) return CONTROL_FALSE; - else return CONTROL_TRUE; + else +#endif + return CONTROL_TRUE; case IMGFMT_YUY2: if(ctx->yuy2_support) return CONTROL_TRUE; return CONTROL_FALSE;