[Ffmpeg-cvslog] CVS: ffmpeg/libavcodec vorbis.c,1.5,1.6

Rich Felker dalias
Mon May 30 02:08:06 CEST 2005


On Mon, May 30, 2005 at 12:50:24AM +0200, Michael Niedermayer CVS wrote:
> Update of /cvsroot/ffmpeg/ffmpeg/libavcodec
> In directory mail:/var2/tmp/cvs-serv31774
> 
> Modified Files:
> 	vorbis.c 
> Log Message:
> ilog() -> av_log2()
> 
> +#define ilog(i) av_log2(2*(i))

Wouldn't 1+av_log2((i)) be faster? Or is there some rounding issue I'm
missing?

Rich





More information about the ffmpeg-cvslog mailing list