diff -Nru ffmpeg-0.5.orig/configure ffmpeg-0.5/configure
--- ffmpeg-0.5.orig/configure	2009-03-01 18:57:14.000000000 +0100
+++ ffmpeg-0.5/configure	2009-10-17 05:33:41.000000000 +0200
@@ -1993,7 +1993,7 @@
 enabled libspeex   && require  libspeex speex/speex.h speex_decoder_init -lspeex
 enabled libtheora  && require  libtheora theora/theora.h theora_info_init -ltheora -logg
 enabled libvorbis  && require  libvorbis vorbis/vorbisenc.h vorbis_info_init -lvorbisenc -lvorbis -logg
-enabled libx264    && require  libx264 x264.h x264_encoder_open -lx264 -lm &&
+enabled libx264    && 1 -lx264 -lm &&
                       { check_cpp_condition x264.h "X264_BUILD >= 65" ||
                         die "ERROR: libx264 version must be >= 0.65."; }
 enabled libxvid    && require  libxvid xvid.h xvid_global -lxvidcore
