[MPlayer-cvslog] r22831 - trunk/libvo/vo_xvmc.c

iive subversion at mplayerhq.hu
Mon Mar 26 17:53:23 CEST 2007


Author: iive
Date: Mon Mar 26 17:53:23 2007
New Revision: 22831

Modified:
   trunk/libvo/vo_xvmc.c

Log:
prevent building xvmc with the old api.
temporal solution until configure can handle it.


Modified: trunk/libvo/vo_xvmc.c
==============================================================================
--- trunk/libvo/vo_xvmc.c	(original)
+++ trunk/libvo/vo_xvmc.c	Mon Mar 26 17:53:23 2007
@@ -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;



More information about the MPlayer-cvslog mailing list