changeset 14722:23dc67608626

Move x264 version check into configure.
author lorenm
date Fri, 18 Feb 2005 03:55:27 +0000
parents 1f5d0760d037
children 04081c3df9ce
files configure libmpcodecs/ve_x264.c
diffstat 2 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Thu Feb 17 21:03:29 2005 +0000
+++ b/configure	Fri Feb 18 03:55:27 2005 +0000
@@ -5906,6 +5906,9 @@
 #include <stdint.h>
 #include <stdarg.h>
 #include <x264.h>
+#if X264_BUILD < 0x0010
+#error We do not support old versions of x264. Get the latest from SVN.
+#endif
 int main(void) { x264_encoder_open((void*)0); return 0; }
 EOF
 _ld_x264="$_ld_x264 -lx264 $_ld_lm"
--- a/libmpcodecs/ve_x264.c	Thu Feb 17 21:03:29 2005 +0000
+++ b/libmpcodecs/ve_x264.c	Fri Feb 18 03:55:27 2005 +0000
@@ -49,10 +49,6 @@
 
 #include <x264.h>
 
-#if X264_BUILD < 0x0010
-#error We do not support old versions of x264. Get the latest from SVN.
-#endif
-
 typedef struct _h264_module_t {
     muxer_stream_t *mux;
     x264_param_t    param;