diff --git a/configure b/configure index 5316623b3c..d90aec7fdf 100755 --- a/configure +++ b/configure @@ -5906,6 +5906,9 @@ cat > $TMPC << EOF #include #include #include +#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" diff --git a/libmpcodecs/ve_x264.c b/libmpcodecs/ve_x264.c index bbf6aa6372..674f4ba8a3 100644 --- a/libmpcodecs/ve_x264.c +++ b/libmpcodecs/ve_x264.c @@ -49,10 +49,6 @@ #include -#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;