Mercurial > mplayer.hg
comparison libmpcodecs/ad_mp3lib.c @ 8026:b465ba5897a3
usage of libmpeg2, liba52, mp3lib & svq1 can be disabled
author | arpi |
---|---|
date | Fri, 01 Nov 2002 16:40:15 +0000 |
parents | 28677d779205 |
children | d7243684623c |
comparison
equal
deleted
inserted
replaced
8025:e6cadb79f668 | 8026:b465ba5897a3 |
---|---|
1 #include <stdio.h> | 1 #include <stdio.h> |
2 #include <stdlib.h> | 2 #include <stdlib.h> |
3 #include <unistd.h> | 3 #include <unistd.h> |
4 | 4 |
5 #include "config.h" | 5 #include "config.h" |
6 #ifdef USE_MP3LIB | |
7 | |
6 #include "ad_internal.h" | 8 #include "ad_internal.h" |
7 | 9 |
8 static ad_info_t info = | 10 static ad_info_t info = |
9 { | 11 { |
10 "MPEG layer-2, layer-3", | 12 "MPEG layer-2, layer-3", |
75 | 77 |
76 static int decode_audio(sh_audio_t *sh_audio,unsigned char *buf,int minlen,int maxlen) | 78 static int decode_audio(sh_audio_t *sh_audio,unsigned char *buf,int minlen,int maxlen) |
77 { | 79 { |
78 return MP3_DecodeFrame(buf,-1); | 80 return MP3_DecodeFrame(buf,-1); |
79 } | 81 } |
82 #endif |