summaryrefslogtreecommitdiffstats
path: root/libmpdemux
diff options
context:
space:
mode:
authorjaf <jaf@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-04-21 02:38:50 +0000
committerjaf <jaf@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-04-21 02:38:50 +0000
commit3c86b642ee3d5ceec113dc4b32534df288c9eca5 (patch)
tree1fd507bac90793520e9d857d499a30d8202e34a6 /libmpdemux
parent1ae6b9eac5994d851eff8dc014fb7aa5670b78c9 (diff)
downloadmpv-3c86b642ee3d5ceec113dc4b32534df288c9eca5.tar.bz2
mpv-3c86b642ee3d5ceec113dc4b32534df288c9eca5.tar.xz
mplayer was not compileable without, i tested it with and without vorbis, i hope it's ok
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5755 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r--libmpdemux/demuxer.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libmpdemux/demuxer.c b/libmpdemux/demuxer.c
index 387bdbaea8..c714b30ac6 100644
--- a/libmpdemux/demuxer.c
+++ b/libmpdemux/demuxer.c
@@ -921,7 +921,9 @@ void demux_seek_mov(demuxer_t *demuxer,float pts,int flags);
int demux_seek_real(demuxer_t *demuxer,float rel_seek_secs,int flags);
extern void demux_audio_seek(demuxer_t *demuxer,float rel_seek_secs,int flags);
extern void demux_demuxers_seek(demuxer_t *demuxer,float rel_seek_secs,int flags);
+#ifdef HAVE_OGGVORBIS
extern void demux_ogg_seek(demuxer_t *demuxer,float rel_seek_secs,int flags);
+#endif
int demux_seek(demuxer_t *demuxer,float rel_seek_secs,int flags){
demux_stream_t *d_audio=demuxer->audio;
@@ -990,8 +992,10 @@ switch(demuxer->file_format){
demux_audio_seek(demuxer,rel_seek_secs,flags); break;
case DEMUXER_TYPE_DEMUXERS:
demux_demuxers_seek(demuxer,rel_seek_secs,flags); break;
+#ifdef HAVE_OGGVORBIS
case DEMUXER_TYPE_OGG:
demux_ogg_seek(demuxer,rel_seek_secs,flags); break;
+#endif
} // switch(demuxer->file_format)