[Mplayer-cvslog] CVS: main/libmpdemux stream.c,1.35,1.36

Arpi arpi at thot.banki.hu
Tue Jun 4 22:20:24 CEST 2002


Hi,

> >      kill(s->cache_pid,SIGKILL);
> >      waitpid(s->cache_pid,NULL,0);
> >    }
> > +  if(s->fd>0) close(s->fd);
>              ^
> 0 is a valid fd even though s->fd is unlikely to be 0 8)

yes, but 0 is stdin, it's allowed (fd may be 0) and it should not be closed!


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu



More information about the MPlayer-cvslog mailing list