[Ffmpeg-cvslog] CVS: ffmpeg/libavcodec snow.c,1.82,1.83

Luca Abeni lucabe72
Thu Jan 19 11:12:50 CET 2006


Hello,

On Thu, 2006-01-19 at 10:21 +0100, Loren Merritt CVS wrote:
> Update of /cvsroot/ffmpeg/ffmpeg/libavcodec
> In directory mail:/var2/tmp/cvs-serv30922/libavcodec
> 
> Modified Files:
> 	snow.c 
> Log Message:
> detect when iterative_me fails to converge, and stop searching
> 
> 
> 
> Index: snow.c
> ===================================================================
> RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/snow.c,v
> retrieving revision 1.82
> retrieving revision 1.83
> diff -u -d -r1.82 -r1.83
> --- snow.c	17 Jan 2006 08:27:39 -0000	1.82
> +++ snow.c	19 Jan 2006 09:21:38 -0000	1.83
> @@ -25,6 +25,8 @@
>  
>  #include "mpegvideo.h"
>  
> +#include <zlib.h>
This just introduced a dipendence of snow.c on zlib... If I configure
with --disable-zlib, I get undefined references to crc32().

Not sure about how to fix it (I tried to introduce an
"#ifdef CONFIG_ZLIB" in snow.c, but dsputils.c depends on snow.c so the
#ifdef would be needed in a lot of places...

For the moment, I am compiling with "--disable-decoder=snow
--disable-encoder=snow", and everything links ok... So, maybe the
solution is to change the build (or configuration) system to disable
snow if zlib is disabled or not detected. But I do not know how to hack
the configuration system...


			Thanks,
				Luca
-- 
_____________________________________________________________________________
Copy this in your signature, if you think it is important:
                               N O    W A R ! ! !

 
 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 Vuoi proteggere la tua casa? Chiedi a Ras come, clicca e fai un preventivo online!
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=4028&d=19-1





More information about the ffmpeg-cvslog mailing list