diff libvo/vo_xvmc.c @ 22813:acfb17bdb671

prevent building xvmc with the old api. temporal solution until configure can handle it.
author iive
date Mon, 26 Mar 2007 15:53:23 +0000
parents ce47c5e803e2
children 17bf4f4b0715
line wrap: on
line diff
--- a/libvo/vo_xvmc.c	Mon Mar 26 15:23:15 2007 +0000
+++ b/libvo/vo_xvmc.c	Mon Mar 26 15:53:23 2007 +0000
@@ -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;