diff options
author | albeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-02-15 10:33:03 +0000 |
---|---|---|
committer | albeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-02-15 10:33:03 +0000 |
commit | 37d1cfa8c0175f79cdbbe335577bc9c159a52501 (patch) | |
tree | 490ff9ee168cdbf84941a01f45060319cfe2f8fc | |
parent | 4cd0f2201a62cef3631d7d5cce190d56025b3028 (diff) | |
download | mpv-37d1cfa8c0175f79cdbbe335577bc9c159a52501.tar.bz2 mpv-37d1cfa8c0175f79cdbbe335577bc9c159a52501.tar.xz |
Fixed bug wich interrupt plaintext parsing before real eof
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4715 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | playtreeparser.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/playtreeparser.c b/playtreeparser.c index 529adb4568..dc3c92bb1c 100644 --- a/playtreeparser.c +++ b/playtreeparser.c @@ -160,8 +160,7 @@ parse_textplain(play_tree_parser_t* p) { 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; |