diff options
author | szabii <szabii@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-04-23 23:46:24 +0000 |
---|---|---|
committer | szabii <szabii@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-04-23 23:46:24 +0000 |
commit | 3e9f04bddea44ed47ed3f50b77f7be5adac86f38 (patch) | |
tree | ecd69bbb1f60141b624693151310e09d835f12fa | |
parent | fce9ee740368fa8015874a1e4d3114026e846287 (diff) | |
download | mpv-3e9f04bddea44ed47ed3f50b77f7be5adac86f38.tar.bz2 mpv-3e9f04bddea44ed47ed3f50b77f7be5adac86f38.tar.xz |
warnings killed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@606 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | demux_mpg.c | 3 | ||||
-rw-r--r-- | mixer.c | 1 | ||||
-rw-r--r-- | subreader.c | 2 |
3 files changed, 5 insertions, 1 deletions
diff --git a/demux_mpg.c b/demux_mpg.c index 0bf5b568ee..5a6ea4f4a5 100644 --- a/demux_mpg.c +++ b/demux_mpg.c @@ -36,6 +36,9 @@ static unsigned int read_mpeg_timestamp(stream_t *s,int c){ //static char dvdaudio_table[256]; //static unsigned int packet_start_pos=0; +extern void *new_sh_audio(int id); +extern void *new_sh_video(int id); + static int demux_mpg_read_packet(demuxer_t *demux,int id){ int d; int len; @@ -4,6 +4,7 @@ #include <sys/soundcard.h> #include <fcntl.h> #include <stdio.h> +#include <unistd.h> #include "mixer.h" diff --git a/subreader.c b/subreader.c index b42f60605f..ef5f7e1bb4 100644 --- a/subreader.c +++ b/subreader.c @@ -53,7 +53,7 @@ subtitle *sub_read_line_microdvd(FILE *fd,subtitle *current) { if (!fgets (line, 1000, fd)) return NULL; } while (*line=='\n' || *line == '\r' || !*line); - if (sscanf (line, "{%d}{%d}%s", &(current->start), &(current->end),line2) <2) {return ERR;} + if (sscanf (line, "{%ld}{%ld}%s", &(current->start), &(current->end),line2) <2) {return ERR;} p=line; while (*p++!='}'); |