Mercurial > mplayer.hg
diff subreader.c @ 7472:c4434bdf6e51
tons of warning fixes, also some 10l bugfixes, including Dominik's PVA bug
| author | arpi |
|---|---|
| date | Sun, 22 Sep 2002 02:33:28 +0000 |
| parents | fdf31bb0450f |
| children | e1962f1bb326 |
line wrap: on
line diff
--- a/subreader.c Sun Sep 22 00:43:14 2002 +0000 +++ b/subreader.c Sun Sep 22 02:33:28 2002 +0000 @@ -53,7 +53,7 @@ subtitle *sub_read_line_sami(FILE *fd, subtitle *current) { static char line[LINE_LEN+1]; static char *s = NULL, *slacktime_s; - char text[LINE_LEN+1], *p, *q; + char text[LINE_LEN+1], *p=NULL, *q; int state; current->lines = current->start = current->end = 0; @@ -566,7 +566,7 @@ next = line,i=0; - current->text[0]==""; // just to be sure that string is clear + current->text[0]=""; // just to be sure that string is clear while ((next =sub_readtext (next, &(current->text[i])))) { if (current->text[i]==ERR) {return ERR;} @@ -674,7 +674,7 @@ subtitle* subcp_recode (subtitle *sub) { int l=sub->lines; - size_t ileft, oleft, otlen; + size_t ileft, oleft; char *op, *ip, *ot; while (l){
