# HG changeset patch # User iive # Date 1174924403 0 # Node ID acfb17bdb671b9b29e57d8d84eb156b5cc80f3bb # Parent 470cc9dc1b330fa587604d33a20a2d332abecbc9 prevent building xvmc with the old api. temporal solution until configure can handle it. diff -r 470cc9dc1b33 -r acfb17bdb671 libvo/vo_xvmc.c --- a/libvo/vo_xvmc.c Mon Mar 26 15:23:15 2007 +0000 +++ b/libvo/vo_xvmc.c Mon Mar 26 15:53:23 2007 +0000 @@ -47,6 +47,11 @@ #define UNUSED(x) ((void)(x)) +#include "libavcodec/avcodec.h" +#if LIBAVCODEC_BUILD < ((51<<16)+(40<<8)+2) +#error You need at least libavcodecs v51.40.2 +#endif + static int benchmark; static int use_sleep;