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
This commit is contained in:
iive 2007-03-26 15:53:23 +00:00
parent f0347403c6
commit 2e7dcb3c16
1 changed files with 5 additions and 0 deletions

View File

@ -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;