[Mplayer-cvslog] CVS: main/libmpdemux demuxer.c,1.91,1.92

Johannes Feigl jaf at mplayerhq.hu
Sun Apr 21 04:38:53 CEST 2002


Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var/tmp.root/cvs-serv22926

Modified Files:
	demuxer.c 
Log Message:
mplayer was not compileable without, i tested it with and without vorbis, i hope it's ok

Index: demuxer.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demuxer.c,v
retrieving revision 1.91
retrieving revision 1.92
diff -u -r1.91 -r1.92
--- demuxer.c	20 Apr 2002 17:50:11 -0000	1.91
+++ demuxer.c	21 Apr 2002 02:38:50 -0000	1.92
@@ -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)




More information about the MPlayer-cvslog mailing list