mirror of
https://github.com/mpv-player/mpv
synced 2025-03-24 20:31:37 +00:00
OOOPS, miaaing ifdef.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1831 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
897670e751
commit
fff31249bb
@ -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,-1);
|
||||||
// len=MP3_DecodeFrame(buf,3);
|
// len=MP3_DecodeFrame(buf,3);
|
||||||
break;
|
break;
|
||||||
|
#ifdef HAVE_OGGVORBIS
|
||||||
case AFM_VORBIS: { // OggVorbis
|
case AFM_VORBIS: { // OggVorbis
|
||||||
/* note: good minlen would be 4k or 8k IMHO - atmos */
|
/* note: good minlen would be 4k or 8k IMHO - atmos */
|
||||||
int ret;
|
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
|
} // from else, packetout ok
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
case AFM_PCM: // AVI PCM
|
case AFM_PCM: // AVI PCM
|
||||||
len=demux_read_data(sh_audio->ds,buf,minlen);
|
len=demux_read_data(sh_audio->ds,buf,minlen);
|
||||||
|
Loading…
Reference in New Issue
Block a user