OSDN Git Service

Use ff_neterrno instead of errno in tcp.c.
authorMartin Storsjö <martin@martin.st>
Wed, 15 Jul 2009 05:52:49 +0000 (05:52 +0000)
committerDiego Biurrun <diego@biurrun.de>
Wed, 15 Jul 2009 05:52:49 +0000 (05:52 +0000)
commit73c1326809b3da1e701aad46a36943e2d65db52a
treec5b8cd93a86afab46e00d9da108e72ff30292dbf
parentd6a1611cc259b94162904267e070a3d58aba7e7a
Use ff_neterrno instead of errno in tcp.c.
If ff_neterrno() is checked instead of errno, that's probably what should be
used in the return value.
As a sideeffect, this gives better compatibility with Windows (CE), where
network errors aren't visible in errno.)
patch by Martin Storsjö, martin martin st

Originally committed as revision 19433 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/tcp.c