Mercurial > hg > forks > bilotrip-mj12
diff liboggplayer-src/src/play.cpp @ 14:083c73ceb716
Get rid of the vorbis related code.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 05 Aug 2013 16:54:46 +0300 |
parents | 105513a2e3c9 |
children | 3eacedd172ab |
line wrap: on
line diff
--- a/liboggplayer-src/src/play.cpp Mon Aug 05 16:47:07 2013 +0300 +++ b/liboggplayer-src/src/play.cpp Mon Aug 05 16:54:46 2013 +0300 @@ -8,6 +8,7 @@ // for internal use only and should only be called // in play() bool OggPlayer::Imp::decode_audio() { +#ifdef VORBIS_SUPPORT int ret; float **pcm; // if there's pending, decoded audio, grab it @@ -79,7 +80,8 @@ return false; } } else { return true; } - +#endif + return true; } // similar to decode_audio bool OggPlayer::Imp::decode_video() {