[FFmpeg-devel] [PATCH] avio: Check for FF_NETERROR(EAGAIN) in retry_transfer_wrapper

Nicolas George nicolas.george
Mon Feb 21 22:55:00 CET 2011


Le tridi 3 vent?se, an CCXIX, Ronald S. Bultje a ?crit?:
> Can we map them to self-defined error codes on Windows? Made-up
> values, is what I mean.

What about using the same values as currently, on a case-by-case basis:

#ifndef ECONNREFUSED
#define ECONNREFUSED WSAECONNREFUSED
#endif

?

>			  I know that won't act well with strerror(),

Does it currently work? Does windows strerror translate WSAE*? If it does,
the above solution would work too.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20110221/d0f4b20d/attachment.pgp>



More information about the ffmpeg-devel mailing list