[FFmpeg-devel] [PATCH] lzo build system checks

Reimar Döffinger Reimar.Doeffinger
Thu Apr 9 17:21:09 CEST 2009


On Thu, Apr 09, 2009 at 05:12:27PM +0200, Diego Biurrun wrote:
> On Thu, Apr 09, 2009 at 04:36:41PM +0200, Reimar D?ffinger wrote:
> > > --- libavutil/lzo.c	(revision 18382)
> > > +++ libavutil/lzo.c	(working copy)
> > > @@ -239,6 +239,10 @@
> > >  #include "log.h"
> > >  #define MAXSZ (10*1024*1024)
> > > +
> > > +//#define HAVE_LZO1X_DECOMPRESS_SAFE 1
> > > +//#define HAVE_LZO1X_DECOMPRESS 1
> > 
> > I meant those would have to be
> > #define HAVE_LZO1X_DECOMPRESS_SAFE 0
> > #define HAVE_LZO1X_DECOMPRESS 0
> 
> They are 0 by default if undefined, so uncommenting one of the above
> lines would turn them on.

Yes, but it would also throw a warning each time if the are not.
I didn't expect you to submit on purpose a patch that creates warnings
:-)



More information about the ffmpeg-devel mailing list