1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-22 06:42:03 +00:00

terrible fatal bug fixed

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@181 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi_esp 2001-03-21 03:20:17 +00:00
parent 2186305c47
commit 3034102874

View File

@ -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;
}