Mercurial > mplayer.hg
changeset 4714:dfe709923a33
Fixed bug wich interrupt plaintext parsing before real eof
author | albeu |
---|---|
date | Fri, 15 Feb 2002 10:33:03 +0000 |
parents | ad8b41562877 |
children | 2674848bd897 |
files | playtreeparser.c |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/playtreeparser.c Fri Feb 15 01:00:26 2002 +0000 +++ b/playtreeparser.c Fri Feb 15 10:33:03 2002 +0000 @@ -160,8 +160,7 @@ if(r < 0) { mp_msg(MSGT_PLAYTREE,MSGL_ERR,"Can't read from stream r=%d\n",r); return NULL; - } else if(r == 0) - eof = 1; + } p->buffer_end += r; p->buffer[p->buffer_end] = '\0'; } else eof = 1;