[FFmpeg-cvslog] r9172 - in trunk: configure libavcodec/allcodecs.c libavcodec/avcodec.h libavcodec/faad.c
diego
subversion
Sat Jun 2 13:44:44 CEST 2007
Author: diego
Date: Sat Jun 2 13:44:44 2007
New Revision: 9172
Log:
Rename aac_decoder to libfaad_decoder for consistency and to be able to
more easily add a possible future native decoder.
Modified:
trunk/configure
trunk/libavcodec/allcodecs.c
trunk/libavcodec/avcodec.h
trunk/libavcodec/faad.c
Modified: trunk/configure
==============================================================================
--- trunk/configure (original)
+++ trunk/configure Sat Jun 2 13:44:44 2007
@@ -709,7 +709,6 @@ zmbv_decoder_deps="zlib"
zmbv_encoder_deps="zlib"
# external libraries
-aac_decoder_deps="libfaad"
mpeg4aac_decoder_deps="libfaad"
liba52_decoder_deps="liba52"
libamr_nb_decoder_deps="libamr_nb"
@@ -717,6 +716,7 @@ libamr_nb_encoder_deps="libamr_nb"
libamr_wb_decoder_deps="libamr_wb"
libamr_wb_encoder_deps="libamr_wb"
libfaac_encoder_deps="libfaac"
+libfaad_decoder_deps="libfaad"
libgsm_decoder_deps="libgsm"
libgsm_encoder_deps="libgsm"
libgsm_ms_decoder_deps="libgsm"
Modified: trunk/libavcodec/allcodecs.c
==============================================================================
--- trunk/libavcodec/allcodecs.c (original)
+++ trunk/libavcodec/allcodecs.c Sat Jun 2 13:44:44 2007
@@ -164,7 +164,6 @@ void avcodec_register_all(void)
REGISTER_ENCDEC (ZMBV, zmbv);
/* audio codecs */
- REGISTER_DECODER(AAC, aac);
REGISTER_DECODER(MPEG4AAC, mpeg4aac);
REGISTER_ENCODER(AC3, ac3);
REGISTER_DECODER(ALAC, alac);
@@ -178,6 +177,7 @@ void avcodec_register_all(void)
REGISTER_ENCDEC (LIBAMR_WB, libamr_wb);
REGISTER_DECODER(LIBA52, liba52);
REGISTER_ENCODER(LIBFAAC, libfaac);
+ REGISTER_DECODER(LIBFAAD, libfaad);
REGISTER_ENCDEC (LIBGSM, libgsm);
REGISTER_ENCDEC (LIBGSM_MS, libgsm_ms);
REGISTER_ENCODER(LIBTHEORA, libtheora);
Modified: trunk/libavcodec/avcodec.h
==============================================================================
--- trunk/libavcodec/avcodec.h (original)
+++ trunk/libavcodec/avcodec.h Sat Jun 2 13:44:44 2007
@@ -2422,13 +2422,13 @@ extern AVCodec rawvideo_decoder;
extern AVCodec rawvideo_encoder;
/* the following codecs use external libs */
-extern AVCodec aac_decoder;
extern AVCodec liba52_decoder;
extern AVCodec libamr_nb_decoder;
extern AVCodec libamr_nb_encoder;
extern AVCodec libamr_wb_decoder;
extern AVCodec libamr_wb_encoder;
extern AVCodec libfaac_encoder;
+extern AVCodec libfaad_decoder;
extern AVCodec libgsm_decoder;
extern AVCodec libgsm_encoder;
extern AVCodec libgsm_ms_decoder;
Modified: trunk/libavcodec/faad.c
==============================================================================
--- trunk/libavcodec/faad.c (original)
+++ trunk/libavcodec/faad.c Sat Jun 2 13:44:44 2007
@@ -324,7 +324,7 @@ AVCodec name ## _decoder = { \
}
// FIXME - raw AAC files - maybe just one entry will be enough
-AAC_CODEC(CODEC_ID_AAC, aac);
+AAC_CODEC(CODEC_ID_AAC, libfaad);
#if LIBAVCODEC_VERSION_INT < ((52<<16)+(0<<8)+0)
// If it's mp4 file - usually embeded into Qt Mov
AAC_CODEC(CODEC_ID_MPEG4AAC, mpeg4aac);
More information about the ffmpeg-cvslog
mailing list