From 2e7dcb3c16737c6afe4a31b577be6612a2f4af82 Mon Sep 17 00:00:00 2001 From: iive Date: Mon, 26 Mar 2007 15:53:23 +0000 Subject: [PATCH] prevent building xvmc with the old api. temporal solution until configure can handle it. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22831 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_xvmc.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libvo/vo_xvmc.c b/libvo/vo_xvmc.c index 79c03da5b4..81745fd6b9 100644 --- a/libvo/vo_xvmc.c +++ b/libvo/vo_xvmc.c @@ -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;