warning fixes

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6815 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
atmos4 2002-07-26 04:04:51 +00:00
parent a77926321c
commit 1036563da9
1 changed files with 4 additions and 1 deletions

View File

@ -6,12 +6,14 @@
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>
#include <sys/wait.h>
#include <fcntl.h> #include <fcntl.h>
#include <signal.h> #include <signal.h>
#include "config.h" #include "config.h"
#include "mp_msg.h" #include "mp_msg.h"
#include "help_mp.h" #include "help_mp.h"
#include "../linux/shmem.h"
#include "stream.h" #include "stream.h"
#include "demuxer.h" #include "demuxer.h"
@ -33,6 +35,7 @@ extern int verbose; // defined in mplayer.c
#ifdef USE_DVDREAD #ifdef USE_DVDREAD
int dvd_read_sector(void* d,void* p2); int dvd_read_sector(void* d,void* p2);
void dvd_seek(void* d,off_t pos); void dvd_seek(void* d,off_t pos);
void dvd_close(dvd_priv_t *d);
#endif #endif
#ifdef HAVE_CDDA #ifdef HAVE_CDDA
@ -110,7 +113,7 @@ int stream_fill_buffer(stream_t *s){
} }
int stream_seek_long(stream_t *s,off_t pos){ 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); // if(verbose>=3) printf("seek_long to 0x%X\n",(unsigned int)pos);