1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-26 09:02:38 +00:00

warnings killed

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@606 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
szabii 2001-04-23 23:46:24 +00:00
parent fce9ee7403
commit 3e9f04bdde
3 changed files with 5 additions and 1 deletions

View File

@ -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;

View File

@ -4,6 +4,7 @@
#include <sys/soundcard.h>
#include <fcntl.h>
#include <stdio.h>
#include <unistd.h>
#include "mixer.h"

View File

@ -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++!='}');