[Ffmpeg-devel] Compiling problems on CVS

Diego Biurrun diego
Mon Apr 24 00:02:45 CEST 2006


On Wed, Apr 19, 2006 at 12:41:38PM -0300, Ramiro Polla wrote:
> >On Wed, Apr 19, 2006 at 10:12:16AM -0300, Ramiro Polla wrote:
> >> > I think ffmpeg should be compilable for debug without the need of 
> >hacking > Makefiles.
> >> > I suggest something such as a flag for the makefiles that is set when 
> >> optimization is disabled. The specific files that require optimization > 
> >could check that flag and add -O3.
> >> > --- libavcodec/Makefile.orig	2006-04-19 09:27:11.000000000 -0300
> >> +++ libavcodec/Makefile	2006-04-19 10:07:05.000000000 -0300
> >> @@ -342,6 +342,7 @@
> >>  	i386/idct_mmx.o i386/motion_est_mmx.o \
> >>  	i386/simple_idct_mmx.o i386/fft_sse.o i386/vp3dsp_mmx.o \
> >>  	i386/vp3dsp_sse2.o i386/fft_3dn.o i386/fft_3dn2.o i386/snowdsp_mmx.o
> >> +i386/dsputil_mmx.o: CFLAGS+= -O3
> >>  ifeq ($(CONFIG_GPL),yes)
> >>  OBJS += i386/idct_mmx_xvid.o
> >>  endif
> >
> >This patch looks untested.  Apart from messing up indentation I'll bet
> >you a dollar it doesn't work.
> 
> Tests passed both with "./configure" and "./configure --disable-opts", then 
> "make test". It just forces a file that complained in compilation to 
> optimize.
> Where does it mess up indentation?
> Is the bet really on?

Disregard this, I'm blind, I'll have to send you that dollar.  How's
this one for a start:

http://www.mplayerhq.hu/~diego/dollar.jpg

:)

Diego





More information about the ffmpeg-devel mailing list