diff options
author | iive <iive@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-03-26 15:53:23 +0000 |
---|---|---|
committer | iive <iive@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-03-26 15:53:23 +0000 |
commit | 2e7dcb3c16737c6afe4a31b577be6612a2f4af82 (patch) | |
tree | 1c3cc0e7313f67fe6e51d19867402c2866f4457c /libvo | |
parent | f0347403c671d72297179a588d08f5242d7fa2f7 (diff) |
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
Diffstat (limited to 'libvo')
-rw-r--r-- | libvo/vo_xvmc.c | 5 |
1 files changed, 5 insertions, 0 deletions
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; |