mirror of https://github.com/mpv-player/mpv
remowing warning message
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2469 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
545ad8c358
commit
ee42dc0d10
|
@ -435,14 +435,14 @@ subtitle *sub_read_line_aqt(FILE *fd,subtitle *current) {
|
|||
if (!fgets (line, 1000, fd))
|
||||
return NULL;
|
||||
|
||||
sub_readtext(&line,¤t->text[0]);
|
||||
sub_readtext((char *) &line,¤t->text[0]);
|
||||
current->lines = 1;
|
||||
current->end = current->start; // will be corrected by next subtitle
|
||||
|
||||
if (!fgets (line, 1000, fd))
|
||||
return current;;
|
||||
|
||||
sub_readtext(&line,¤t->text[1]);
|
||||
sub_readtext((char *) &line,¤t->text[1]);
|
||||
current->lines = 2;
|
||||
|
||||
if ((current->text[0]=="") && (current->text[1]=="")) {
|
||||
|
|
Loading…
Reference in New Issue