mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
enable the native AC-3 decoder
Originally committed as revision 9968 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
5eac5f29e3
commit
6ea67bbb60
@ -90,6 +90,7 @@ version <next>
|
|||||||
- RoQ video encoder
|
- RoQ video encoder
|
||||||
- QTRLE encoder
|
- QTRLE encoder
|
||||||
- OS/2 support removed
|
- OS/2 support removed
|
||||||
|
- AC-3 decoder
|
||||||
|
|
||||||
version 0.4.9-pre1:
|
version 0.4.9-pre1:
|
||||||
|
|
||||||
|
4
configure
vendored
4
configure
vendored
@ -719,6 +719,7 @@ mmx_deps="x86"
|
|||||||
ssse3_deps="x86"
|
ssse3_deps="x86"
|
||||||
|
|
||||||
# decoders / encoders
|
# decoders / encoders
|
||||||
|
ac3_decoder_deps="gpl"
|
||||||
dxa_decoder_deps="zlib"
|
dxa_decoder_deps="zlib"
|
||||||
flashsv_decoder_deps="zlib"
|
flashsv_decoder_deps="zlib"
|
||||||
flashsv_encoder_deps="zlib"
|
flashsv_encoder_deps="zlib"
|
||||||
@ -1592,6 +1593,9 @@ enabled libfaac && require2 libfaac "stdint.h faac.h" faacEncGetVersion -lfaa
|
|||||||
enabled libfaad && require2 libfaad faad.h faacDecOpen -lfaad
|
enabled libfaad && require2 libfaad faad.h faacDecOpen -lfaad
|
||||||
enabled avisynth && require2 vfw32 "windows.h vfw.h" AVIFileInit -lvfw32
|
enabled avisynth && require2 vfw32 "windows.h vfw.h" AVIFileInit -lvfw32
|
||||||
|
|
||||||
|
# disable the native AC-3 decoder if liba52 is enabled
|
||||||
|
enabled liba52 && disable ac3_decoder
|
||||||
|
|
||||||
_restrict=
|
_restrict=
|
||||||
for restrict_keyword in restrict __restrict__ __restrict; do
|
for restrict_keyword in restrict __restrict__ __restrict; do
|
||||||
check_cc <<EOF && _restrict=$restrict_keyword && break
|
check_cc <<EOF && _restrict=$restrict_keyword && break
|
||||||
|
@ -32,6 +32,7 @@ OBJS= bitstream.o \
|
|||||||
HEADERS = avcodec.h opt.h
|
HEADERS = avcodec.h opt.h
|
||||||
|
|
||||||
OBJS-$(CONFIG_AASC_DECODER) += aasc.o
|
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_AC3_ENCODER) += ac3enc.o ac3tab.o ac3.o
|
||||||
OBJS-$(CONFIG_ALAC_DECODER) += alac.o
|
OBJS-$(CONFIG_ALAC_DECODER) += alac.o
|
||||||
OBJS-$(CONFIG_ASV1_DECODER) += asv1.o
|
OBJS-$(CONFIG_ASV1_DECODER) += asv1.o
|
||||||
|
@ -166,7 +166,7 @@ void avcodec_register_all(void)
|
|||||||
|
|
||||||
/* audio codecs */
|
/* audio codecs */
|
||||||
REGISTER_DECODER(MPEG4AAC, mpeg4aac);
|
REGISTER_DECODER(MPEG4AAC, mpeg4aac);
|
||||||
REGISTER_ENCODER(AC3, ac3);
|
REGISTER_ENCDEC (AC3, ac3);
|
||||||
REGISTER_DECODER(ALAC, alac);
|
REGISTER_DECODER(ALAC, alac);
|
||||||
REGISTER_DECODER(ATRAC3, atrac3);
|
REGISTER_DECODER(ATRAC3, atrac3);
|
||||||
REGISTER_DECODER(COOK, cook);
|
REGISTER_DECODER(COOK, cook);
|
||||||
|
@ -77,6 +77,7 @@ extern AVCodec wmv2_encoder;
|
|||||||
extern AVCodec zmbv_encoder;
|
extern AVCodec zmbv_encoder;
|
||||||
|
|
||||||
extern AVCodec aasc_decoder;
|
extern AVCodec aasc_decoder;
|
||||||
|
extern AVCodec ac3_decoder;
|
||||||
extern AVCodec alac_decoder;
|
extern AVCodec alac_decoder;
|
||||||
extern AVCodec asv1_decoder;
|
extern AVCodec asv1_decoder;
|
||||||
extern AVCodec asv2_decoder;
|
extern AVCodec asv2_decoder;
|
||||||
|
Loading…
Reference in New Issue
Block a user