summaryrefslogtreecommitdiffstats
path: root/dec_audio.c
diff options
context:
space:
mode:
authoratmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-09-01 20:08:15 +0000
committeratmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-09-01 20:08:15 +0000
commitfff31249bba11bf82a5a7211b38dfb5daa67bc12 (patch)
treed604bd34b968522fad5c4a6f3ded787929fb4f04 /dec_audio.c
parent897670e751616fdcaf78a622ac76c7ea145c20a5 (diff)
downloadmpv-fff31249bba11bf82a5a7211b38dfb5daa67bc12.tar.bz2
mpv-fff31249bba11bf82a5a7211b38dfb5daa67bc12.tar.xz
OOOPS, miaaing ifdef.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1831 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'dec_audio.c')
-rw-r--r--dec_audio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/dec_audio.c b/dec_audio.c
index 16a3294355..b1b3341cfc 100644
--- a/dec_audio.c
+++ b/dec_audio.c
@@ -453,6 +453,7 @@ int decode_audio(sh_audio_t *sh_audio,unsigned char *buf,int minlen,int maxlen){
len=MP3_DecodeFrame(buf,-1);
// len=MP3_DecodeFrame(buf,3);
break;
+#ifdef HAVE_OGGVORBIS
case AFM_VORBIS: { // OggVorbis
/* note: good minlen would be 4k or 8k IMHO - atmos */
int ret;
@@ -547,6 +548,7 @@ int decode_audio(sh_audio_t *sh_audio,unsigned char *buf,int minlen,int maxlen){
} // from else, packetout ok
break;
+#endif
}
case AFM_PCM: // AVI PCM
len=demux_read_data(sh_audio->ds,buf,minlen);