changeset 605:abd7391a31e3

warnings killed
author szabii
date Mon, 23 Apr 2001 23:46:24 +0000
parents 18496fdfd419
children 0b1f9eda1ea6
files demux_mpg.c mixer.c subreader.c
diffstat 3 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;
--- 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 <sys/soundcard.h>
 #include <fcntl.h>
 #include <stdio.h>
+#include <unistd.h>
 
 #include "mixer.h"
 
--- 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++!='}');