changeset 5754:db8764171482

mplayer was not compileable without, i tested it with and without vorbis, i hope it's ok
author jaf
date Sun, 21 Apr 2002 02:38:50 +0000
parents 40527e71c092
children 4593e6189c20
files libmpdemux/demuxer.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demuxer.c	Sun Apr 21 02:31:20 2002 +0000
+++ b/libmpdemux/demuxer.c	Sun Apr 21 02:38:50 2002 +0000
@@ -921,7 +921,9 @@
 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 @@
       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)