From 3034102874b296243bca915937403de09ffc84b9 Mon Sep 17 00:00:00 2001 From: arpi_esp Date: Wed, 21 Mar 2001 03:20:17 +0000 Subject: [PATCH] terrible fatal bug fixed git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@181 b3059339-0415-0410-9bf9-f77b7e298cf2 --- stream.c | 1 + 1 file changed, 1 insertion(+) 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; }