changeset 6820:6e7d36c1f94a libavcodec

The MPEG4AAC codec is provided by an external library and will be disabled with the next libavcodec major version bump.
author diego
date Sat, 17 May 2008 11:38:30 +0000
parents 43bede126ef6
children 1b9c458d6d60
files allcodecs.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/allcodecs.c	Sat May 17 10:20:01 2008 +0000
+++ b/allcodecs.c	Sat May 17 11:38:30 2008 +0000
@@ -195,7 +195,6 @@
     REGISTER_DECODER (MP3ON4, mp3on4);
     REGISTER_DECODER (MPC7, mpc7);
     REGISTER_DECODER (MPC8, mpc8);
-    REGISTER_DECODER (MPEG4AAC, mpeg4aac);
     REGISTER_DECODER (NELLYMOSER, nellymoser);
     REGISTER_DECODER (QDM2, qdm2);
     REGISTER_DECODER (RA_144, ra_144);
@@ -288,6 +287,9 @@
     REGISTER_ENCODER (LIBVORBIS, libvorbis);
     REGISTER_ENCODER (LIBX264, libx264);
     REGISTER_ENCODER (LIBXVID, libxvid);
+#if LIBAVCODEC_VERSION_INT < ((52<<16)+(0<<8)+0)
+    REGISTER_DECODER (MPEG4AAC, mpeg4aac);
+#endif
 
     /* parsers */
     REGISTER_PARSER  (AAC, aac);