diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-06-30 09:55:14 +0000 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-11-02 04:11:46 +0200 |
commit | d86aad3d5643c1e4ea287868fcaaff9adf684a03 (patch) | |
tree | 299c3ae87fe2a8998e0a20f749ca8990616a241a /libmpcodecs/ad.c | |
parent | a701c81f6dacaab94ab832c171f7230cd1f8e933 (diff) | |
download | mpv-d86aad3d5643c1e4ea287868fcaaff9adf684a03.tar.bz2 mpv-d86aad3d5643c1e4ea287868fcaaff9adf684a03.tar.xz |
ad_mpg123: add MP3 decoding through libmpg123
patch by Thomas Orgis, thomas-forum orgis org
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31590 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs/ad.c')
-rw-r--r-- | libmpcodecs/ad.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libmpcodecs/ad.c b/libmpcodecs/ad.c index f81f11ef0f..81cd2a5fca 100644 --- a/libmpcodecs/ad.c +++ b/libmpcodecs/ad.c @@ -32,6 +32,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; @@ -62,6 +63,9 @@ extern const ad_functions_t mpcodecs_ad_libdca; 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 |