mirror of
https://github.com/mpv-player/mpv
synced 2025-02-20 06:46:55 +00:00
forgot to commit
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4787 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
bc957f1d37
commit
49a76c3a0d
6
vobsub.c
6
vobsub.c
@ -606,7 +606,7 @@ vobsub_open(const char *const name)
|
||||
strcat(buf, ".ifo");
|
||||
fd = fopen(buf, "rb");
|
||||
if (fd == NULL)
|
||||
perror("Can't open IFO file");
|
||||
perror("VobSub: Can't open IFO file");
|
||||
else {
|
||||
// parse IFO header
|
||||
unsigned char block[0x800];
|
||||
@ -661,7 +661,7 @@ vobsub_open(const char *const name)
|
||||
strcat(buf, ".idx");
|
||||
fd = fopen(buf, "rb");
|
||||
if (fd == NULL)
|
||||
perror("Can't open IDX file");
|
||||
perror("VobSub: Can't open IDX file");
|
||||
else {
|
||||
while (vobsub_parse_one_line(vob, fd) >= 0)
|
||||
/* NOOP */ ;
|
||||
@ -673,7 +673,7 @@ vobsub_open(const char *const name)
|
||||
strcat(buf, ".sub");
|
||||
mpg = mpeg_open(buf);
|
||||
if (mpg == NULL)
|
||||
perror("Can't open SUB file");
|
||||
perror("VobSub: Can't open SUB file");
|
||||
else {
|
||||
long last_pts_diff = 0;
|
||||
while (!mpeg_eof(mpg)) {
|
||||
|
Loading…
Reference in New Issue
Block a user