forgot to commit

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4787 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
atmos4 2002-02-21 14:34:52 +00:00
parent bc957f1d37
commit 49a76c3a0d
1 changed files with 3 additions and 3 deletions

View File

@ -606,7 +606,7 @@ vobsub_open(const char *const name)
strcat(buf, ".ifo"); strcat(buf, ".ifo");
fd = fopen(buf, "rb"); fd = fopen(buf, "rb");
if (fd == NULL) if (fd == NULL)
perror("Can't open IFO file"); perror("VobSub: Can't open IFO file");
else { else {
// parse IFO header // parse IFO header
unsigned char block[0x800]; unsigned char block[0x800];
@ -661,7 +661,7 @@ vobsub_open(const char *const name)
strcat(buf, ".idx"); strcat(buf, ".idx");
fd = fopen(buf, "rb"); fd = fopen(buf, "rb");
if (fd == NULL) if (fd == NULL)
perror("Can't open IDX file"); perror("VobSub: Can't open IDX file");
else { else {
while (vobsub_parse_one_line(vob, fd) >= 0) while (vobsub_parse_one_line(vob, fd) >= 0)
/* NOOP */ ; /* NOOP */ ;
@ -673,7 +673,7 @@ vobsub_open(const char *const name)
strcat(buf, ".sub"); strcat(buf, ".sub");
mpg = mpeg_open(buf); mpg = mpeg_open(buf);
if (mpg == NULL) if (mpg == NULL)
perror("Can't open SUB file"); perror("VobSub: Can't open SUB file");
else { else {
long last_pts_diff = 0; long last_pts_diff = 0;
while (!mpeg_eof(mpg)) { while (!mpeg_eof(mpg)) {