[FFmpeg-devel] [PATCH] Use ff_neterrno instead of errno in tcp.c

Michael Niedermayer michaelni
Tue Jul 14 11:38:45 CEST 2009

On Tue, Jul 14, 2009 at 11:03:59AM +0300, Martin Storsj? wrote:
> Hi,
> The attached patch gives better consistency; if ff_neterrno() is checked 
> instead of errno, that's probably what should be used in the return value, 
> too. (On windows, network errors aren't visible in errno.)

are the values of ff_neterrno compatible with errno values ?
if yes the patch is obviously correct if no then there may be a problem


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

No great genius has ever existed without some touch of madness. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090714/a125c02a/attachment.pgp>

More information about the ffmpeg-devel mailing list