aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar atmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-07-26 04:04:51 +0000
committerGravatar atmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-07-26 04:04:51 +0000
commit1036563da9fa41cca0010ccde91c12717d44a091 (patch)
treef8b0d84f2a2b94c477f1f52c7edc0f9e03f37338
parenta77926321c27d9d59dc93902b68d19f420eb7f8d (diff)
warning fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6815 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--libmpdemux/stream.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libmpdemux/stream.c b/libmpdemux/stream.c
index cbfd6781a4..bd1e808331 100644
--- a/libmpdemux/stream.c
+++ b/libmpdemux/stream.c
@@ -6,12 +6,14 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/ioctl.h>
+#include <sys/wait.h>
#include <fcntl.h>
#include <signal.h>
#include "config.h"
#include "mp_msg.h"
#include "help_mp.h"
+#include "../linux/shmem.h"
#include "stream.h"
#include "demuxer.h"
@@ -33,6 +35,7 @@ extern int verbose; // defined in mplayer.c
#ifdef USE_DVDREAD
int dvd_read_sector(void* d,void* p2);
void dvd_seek(void* d,off_t pos);
+void dvd_close(dvd_priv_t *d);
#endif
#ifdef HAVE_CDDA
@@ -110,7 +113,7 @@ int stream_fill_buffer(stream_t *s){
}
int stream_seek_long(stream_t *s,off_t pos){
-off_t newpos;
+off_t newpos=0;
// if(verbose>=3) printf("seek_long to 0x%X\n",(unsigned int)pos);