summaryrefslogtreecommitdiffstats
path: root/stream.c
diff options
context:
space:
mode:
authorarpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-03-21 03:20:17 +0000
committerarpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-03-21 03:20:17 +0000
commit3034102874b296243bca915937403de09ffc84b9 (patch)
treef7c93adb43b6205538252922fac2ee76a4f088e8 /stream.c
parent2186305c47bbc34696235abcd81f3bd6a5d938aa (diff)
downloadmpv-3034102874b296243bca915937403de09ffc84b9.tar.bz2
mpv-3034102874b296243bca915937403de09ffc84b9.tar.xz
terrible fatal bug fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@181 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream.c')
-rw-r--r--stream.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/stream.c b/stream.c
index 3c44a0a30d..b07af0d3db 100644
--- a/stream.c
+++ b/stream.c
@@ -192,6 +192,7 @@ stream_t* new_stream(int fd,int type){
stream_t *s=malloc(sizeof(stream_t));
s->fd=fd;
s->type=type;
+ s->buf_pos=s->buf_len=0;
stream_reset(s);
return s;
}