[MPlayer-users] Small patch for libx264 autodetect

Pedro A ARANDA paaguti at hotmail.com
Wed May 7 11:02:27 CEST 2008


Hi,

I had problems with the SVN mplayer. It had stopped to be able to autodetect libx264
This is a small patch to fix that problem. Now I see that mencoder segfaults if I request
x264 encoding.

Cheers,/PA

PS: Sorry for the HTML mail, but I'm on the road and using hotmail :(

--- configure	(revisión: 26680)
+++ configure	(copia de trabajo)
@@ -6571,7 +6571,7 @@
 int main(void) { x264_encoder_open((void*)0); return 0; }
 EOF
   _x264=no
-  for _ld_x264 in "-lx264 $_ld_pthread" "-lx264 $_ld_pthread $_ld_lm" ; do
+  for _ld_x264 in "`pkg-config --libs x264`" "-lx264 $_ld_pthread" "-lx264 $_ld_pthread $_ld_lm" ; do
     cc_check $_ld_x264 && _libs_mencoder="$_libs_mencoder $_ld_x264" && _x264=yes && break
   done
 fi

_________________________________________________________________
Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy!
http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us


More information about the MPlayer-users mailing list