diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-09-22 02:33:28 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-09-22 02:33:28 +0000 |
commit | d483a015a2bbca2aec8a287c0ff6eeb0f176a8bb (patch) | |
tree | 8f1d76f283da6022022a35e300c30faf93e71e83 /subreader.c | |
parent | 61c5a99851ea41449a513619dd68791c93e30ef3 (diff) | |
download | mpv-d483a015a2bbca2aec8a287c0ff6eeb0f176a8bb.tar.bz2 mpv-d483a015a2bbca2aec8a287c0ff6eeb0f176a8bb.tar.xz |
tons of warning fixes, also some 10l bugfixes, including Dominik's PVA bug
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7473 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'subreader.c')
-rw-r--r-- | subreader.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/subreader.c b/subreader.c index fa10c71393..5f0380e77c 100644 --- a/subreader.c +++ b/subreader.c @@ -53,7 +53,7 @@ static void trail_space(char *s) { 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 @@ subtitle *sub_read_line_subrip09(FILE *fd,subtitle *current) { 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 @@ static char icbuffer[ICBUFFSIZE]; subtitle* subcp_recode (subtitle *sub) { int l=sub->lines; - size_t ileft, oleft, otlen; + size_t ileft, oleft; char *op, *ip, *ot; while (l){ |