Mercurial > mplayer.hg
comparison vobsub.c @ 6163:141a082e6da6
applied 64bit patch from Ulrich Hecht <uli at suse dot de>
author | alex |
---|---|
date | Thu, 23 May 2002 15:27:49 +0000 |
parents | 7bea806b9c5f |
children | f8551f89dd48 |
comparison
equal
deleted
inserted
replaced
6162:0e56fbf9039a | 6163:141a082e6da6 |
---|---|
723 vobsub_parse_one_line(vobsub_t *vob, FILE *fd) | 723 vobsub_parse_one_line(vobsub_t *vob, FILE *fd) |
724 { | 724 { |
725 ssize_t line_size; | 725 ssize_t line_size; |
726 int res = -1; | 726 int res = -1; |
727 do { | 727 do { |
728 int line_reserve = 0; | 728 size_t line_reserve = 0; |
729 char *line = NULL; | 729 char *line = NULL; |
730 line_size = getline(&line, &line_reserve, fd); | 730 line_size = getline(&line, &line_reserve, fd); |
731 if (line_size < 0) { | 731 if (line_size < 0) { |
732 if (line) | 732 if (line) |
733 free(line); | 733 free(line); |