changeset 5503:f5c43e693810 libavcodec

enable the native AC-3 decoder
author jbr
date Tue, 07 Aug 2007 00:02:29 +0000
parents f64d8abf92e0
children 06956c599c4d
files Makefile allcodecs.c allcodecs.h
diffstat 3 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Mon Aug 06 23:34:41 2007 +0000
+++ b/Makefile	Tue Aug 07 00:02:29 2007 +0000
@@ -32,6 +32,7 @@
 HEADERS = avcodec.h opt.h
 
 OBJS-$(CONFIG_AASC_DECODER)            += aasc.o
+OBJS-$(CONFIG_AC3_DECODER)             += ac3dec.o ac3tab.o ac3.o mdct.o fft.o
 OBJS-$(CONFIG_AC3_ENCODER)             += ac3enc.o ac3tab.o ac3.o
 OBJS-$(CONFIG_ALAC_DECODER)            += alac.o
 OBJS-$(CONFIG_ASV1_DECODER)            += asv1.o
--- a/allcodecs.c	Mon Aug 06 23:34:41 2007 +0000
+++ b/allcodecs.c	Tue Aug 07 00:02:29 2007 +0000
@@ -166,7 +166,7 @@
 
     /* audio codecs */
     REGISTER_DECODER(MPEG4AAC, mpeg4aac);
-    REGISTER_ENCODER(AC3, ac3);
+    REGISTER_ENCDEC (AC3, ac3);
     REGISTER_DECODER(ALAC, alac);
     REGISTER_DECODER(ATRAC3, atrac3);
     REGISTER_DECODER(COOK, cook);
--- a/allcodecs.h	Mon Aug 06 23:34:41 2007 +0000
+++ b/allcodecs.h	Tue Aug 07 00:02:29 2007 +0000
@@ -77,6 +77,7 @@
 extern AVCodec zmbv_encoder;
 
 extern AVCodec aasc_decoder;
+extern AVCodec ac3_decoder;
 extern AVCodec alac_decoder;
 extern AVCodec asv1_decoder;
 extern AVCodec asv2_decoder;