From 38bc7729f570d90ba2d518a68278670a4c48d6ed Mon Sep 17 00:00:00 2001 From: alex Date: Fri, 25 Jun 2004 15:21:43 +0000 Subject: [PATCH] tcp fragging bugfix by Song Du git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12641 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/netstream.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libmpdemux/netstream.h b/libmpdemux/netstream.h index f13d80f1ca..61abfc8e8a 100644 --- a/libmpdemux/netstream.h +++ b/libmpdemux/netstream.h @@ -53,6 +53,7 @@ static int net_read(int fd, char* buf, int len) { return 0; } len -= r; + buf += r; } return 1; } @@ -103,6 +104,7 @@ static int net_write(int fd, char* buf, int len) { return 0; } len -= w; + buf += w; } return 1; }