[Ffmpeg-devel] [PATCH] updated LGPL AC-3 decoder
Diego Biurrun
diego
Mon Feb 26 09:28:39 CET 2007
On Sat, Feb 24, 2007 at 03:11:17AM -0500, Justin Ruggles wrote:
>
> Here is a much-modified patch of the AC-3 decoder. I basically rewrote
> about half the code. The 5.1 channel decoding still needs speeding-up,
> but everything is working properly now.
:)
> --- libavcodec/ac3dec.c (revision 0)
> +++ libavcodec/ac3dec.c (revision 0)
> @@ -0,0 +1,1245 @@
> +/*
> + * Copyright (c) 2006 Kartikey Mahendra BHATT (bhattkm at gmail dot com).
> + * Copyright (c) 2007 Justin Ruggles.
My anal self wouldn't put a period at the end of these lines ..
> --- libavcodec/Makefile (revision 8113)
> +++ libavcodec/Makefile (working copy)
> @@ -248,7 +248,11 @@
> OBJS-$(CONFIG_ADPCM_YAMAHA_ENCODER) += adpcm.o
>
> # external codec libraries
> +ifeq (($CONFIG_LIBA52),yes)
> OBJS-$(CONFIG_LIBA52) += a52dec.o
> +else
> +OBJS-$(CONFIG_AC3_DECODER) += ac3dec.o ac3.o
> +endif
Just add CONFIG_AC3_DECODER along with the others. We don't do these
checks for libvorbis and similar.
Diego
More information about the ffmpeg-devel
mailing list