mirror of https://github.com/mpv-player/mpv
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:
parent
f0347403c6
commit
2e7dcb3c16
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue