stream/network: don't clobber buffer byte counts on error
commit93e206e0626c1c5827ec738e7a0dbe0538b64545
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>
Mon, 4 Jul 2011 19:11:21 +0000 (4 19:11 +0000)
committerUoti Urpala <uau@mplayer2.org>
Wed, 6 Jul 2011 10:01:08 +0000 (6 13:01 +0300)
tree5bccc9e6742dfa4a7166a0485beb7f004243f9d9
parentc89f72b561a83c11d1abb171b1a9d17bc51c3b42
stream/network: don't clobber buffer byte counts on error

Ensure we do not add strange values to amount of buffered bytes
read on error.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33807 b3059339-0415-0410-9bf9-f77b7e298cf2
stream/network.c