[MPlayer-users] mplayer doesn't compile on FreeBSD after latest changes

Bohdan Horst nexus at hoth.amu.edu.pl
Thu Aug 31 22:36:33 CEST 2006


demux_lavf.c:47: error: `INT_MAX' undeclared here (not in a function)
demux_lavf.c:47: error: initializer element is not constant
demux_lavf.c:47: error: (near initialization for `lavfdopts_conf[0].max')
demux_lavf.c:47: error: initializer element is not constant
demux_lavf.c:47: error: (near initialization for `lavfdopts_conf[0]')
demux_lavf.c:48: error: initializer element is not constant
demux_lavf.c:48: error: (near initialization for `lavfdopts_conf[1]')
gmake[1]: *** [demux_lavf.o] Error 1


patch:

--- demux_lavf.c.old    Thu Aug 31 22:26:25 2006
+++ demux_lavf.c        Thu Aug 31 22:28:29 2006
@@ -19,6 +19,7 @@
 // #include <stdio.h>
 #include <stdlib.h>
 // #include <unistd.h>
+#include <limits.h>

 #include "config.h"
 #include "mp_msg.h"


regards 


-- 
Bohdan 'Nexus' Horst



More information about the MPlayer-users mailing list