# HG changeset patch # User szabii # Date 988069584 0 # Node ID abd7391a31e36c7163a04028acf3a4b4307269b6 # Parent 18496fdfd419ceefcdae3930a70e02ef93e73985 warnings killed diff -r 18496fdfd419 -r abd7391a31e3 demux_mpg.c --- a/demux_mpg.c Mon Apr 23 23:24:42 2001 +0000 +++ b/demux_mpg.c Mon Apr 23 23:46:24 2001 +0000 @@ -36,6 +36,9 @@ //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; diff -r 18496fdfd419 -r abd7391a31e3 mixer.c --- a/mixer.c Mon Apr 23 23:24:42 2001 +0000 +++ b/mixer.c Mon Apr 23 23:46:24 2001 +0000 @@ -4,6 +4,7 @@ #include #include #include +#include #include "mixer.h" diff -r 18496fdfd419 -r abd7391a31e3 subreader.c --- a/subreader.c Mon Apr 23 23:24:42 2001 +0000 +++ b/subreader.c Mon Apr 23 23:46:24 2001 +0000 @@ -53,7 +53,7 @@ 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++!='}');