changeset 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 470cc9dc1b33
children 01ea28c9fa10
files libvo/vo_xvmc.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
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;