diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2007-08-07 00:02:29 +0000 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2007-08-07 00:02:29 +0000 |
commit | 6ea67bbb60e54ffd1f9dbb4cc7636b83181fba5e (patch) | |
tree | 3a99234005a3cd5bb4a71bba06b4763e1fb187a5 /libavcodec | |
parent | 5eac5f29e3677e9ba260c3acf8197cab540bbcde (diff) | |
download | ffmpeg-6ea67bbb60e54ffd1f9dbb4cc7636b83181fba5e.tar.gz |
enable the native AC-3 decoder
Originally committed as revision 9968 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/Makefile | 1 | ||||
-rw-r--r-- | libavcodec/allcodecs.c | 2 | ||||
-rw-r--r-- | libavcodec/allcodecs.h | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/Makefile b/libavcodec/Makefile index 76d12e798b..0efcfa85c6 100644 --- a/libavcodec/Makefile +++ b/libavcodec/Makefile @@ -32,6 +32,7 @@ OBJS= bitstream.o \ 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 diff --git a/libavcodec/allcodecs.c b/libavcodec/allcodecs.c index cb73660d55..6902d9c1d8 100644 --- a/libavcodec/allcodecs.c +++ b/libavcodec/allcodecs.c @@ -166,7 +166,7 @@ void avcodec_register_all(void) /* 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); diff --git a/libavcodec/allcodecs.h b/libavcodec/allcodecs.h index 3b462569a3..979a6a1371 100644 --- a/libavcodec/allcodecs.h +++ b/libavcodec/allcodecs.h @@ -77,6 +77,7 @@ extern AVCodec wmv2_encoder; extern AVCodec zmbv_encoder; extern AVCodec aasc_decoder; +extern AVCodec ac3_decoder; extern AVCodec alac_decoder; extern AVCodec asv1_decoder; extern AVCodec asv2_decoder; |