diff libmpcodecs/ad.c @ 31524:083786e4aaf2

MP3 decoding through libmpg123 patch by Thomas Orgis, thomas-forum orgis org
author diego
date Wed, 30 Jun 2010 09:55:14 +0000
parents 002cdc635c03
children cc5e21203fb5
line wrap: on
line diff
--- a/libmpcodecs/ad.c	Wed Jun 30 09:27:03 2010 +0000
+++ b/libmpcodecs/ad.c	Wed Jun 30 09:55:14 2010 +0000
@@ -34,6 +34,7 @@
 /* Missed vorbis, mad, dshow */
 
 //extern ad_functions_t mpcodecs_ad_null;
+extern const ad_functions_t mpcodecs_ad_mpg123;
 extern const ad_functions_t mpcodecs_ad_mp3lib;
 extern const ad_functions_t mpcodecs_ad_ffmpeg;
 extern const ad_functions_t mpcodecs_ad_liba52;
@@ -64,6 +65,9 @@
 const ad_functions_t * const mpcodecs_ad_drivers[] =
 {
 //  &mpcodecs_ad_null,
+#ifdef CONFIG_MPG123
+  &mpcodecs_ad_mpg123,
+#endif
 #ifdef CONFIG_MP3LIB
   &mpcodecs_ad_mp3lib,
 #endif