[Ffmpeg-cvslog] CVS: ffmpeg/libavcodec wmadec.c,1.30,1.31

Michael Niedermayer michaelni
Sat Feb 11 23:41:23 CET 2006


Hi

On Sat, Feb 11, 2006 at 08:39:08PM +0100, Jindrich Makovicka CVS wrote:
> Update of /cvsroot/ffmpeg/ffmpeg/libavcodec
> In directory mail:/var2/tmp/cvs-serv6843
> 
> Modified Files:
> 	wmadec.c 
> Log Message:
> - fix insufficient code length for exp_vlc
> - move vlc tweaking parameters to one place
> 
> 
> Index: wmadec.c
> ===================================================================
> RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/wmadec.c,v
> retrieving revision 1.30
> retrieving revision 1.31
> diff -u -d -r1.30 -r1.31
> --- wmadec.c	5 Feb 2006 13:35:17 -0000	1.30
> +++ wmadec.c	11 Feb 2006 19:39:05 -0000	1.31
> @@ -57,6 +57,13 @@
>  #define LSP_POW_BITS 7
>  
>  #define VLCBITS 9
> +#define VLCMAX ((22+VLCBITS-1)/VLCBITS)
> +
> +#define EXPVLCBITS 8
> +#define EXPMAX ((19+EXPVLCBITS-1)/EXPVLCBITS)
> +
> +#define HGAINVLCBITS 9
> +#define HGAINMAX ((13+HGAINVLCBITS-1)/HGAINVLCBITS)

very nice, do you want to convert the other codecs to this too? :)

[...]
-- 
Michael





More information about the ffmpeg-cvslog mailing list