Alban Bedel wrote: >The fd field could be anything (ie there not even a guarentee that >it acctually hold a fd), > > I was trusting this comment in libmpdemux/stream.h.: typedef struct stream_st { : int fd; // file descriptor, see man open(2) :