[MPlayer-dev-eng] Re: UPDATED: A RTSP/ RTP streaming patch for "mplayer"
Ross Finlayson
finlayson at live.com
Tue Aug 6 09:53:28 CEST 2002
>eeh it was at make all inside live dir and look at line 256 in
>GroupsockHelper.cpp:
>---snip---
>//##### HACK to work around bugs in Linux and Windows:
>#ifndef __BORLANDC__
> extern int errno;
>#endif
> if (errno == 111 /*ECONNREFUSED*/
>#if defined(__WIN32__) || defined(_WIN32)
>---snip---
Felix,
I think the problem may be that "groupsock/GroupsockHelper.cpp" is the only
file where I declare "errno" as "extern int". In other files that use
"errno", I just do a "#include <errno.h>".
I have now modified "groupsock/GroupsockHelper.cpp" so that it does a
"#include <errno.h>" instead. Could you please download the new version from
http://www.live.com/mplayer/GroupsockHelper.cpp
and tell me whether or not it now compiles OK for you. (If so, I'll make
this change in the official LIVE.COM distribution.)
Thanks for trying this out; I appreciate the feedback.
Ross.
More information about the MPlayer-dev-eng
mailing list