Fix compile error on mingw where ETIMEDOUT is missing (because it's a WSA error).
authorRonald S. Bultje <rsbultje@gmail.com>
Thu, 15 Apr 2010 18:27:27 +0000 (18:27 +0000)
committerRonald S. Bultje <rsbultje@gmail.com>
Thu, 15 Apr 2010 18:27:27 +0000 (18:27 +0000)
commit4aecee7fc34d5eb3dccf2b8ff070cd1029a14d96
tree5a0fac93f5de93e591335f9c4892eeafb5933fa9
parente58c05bb3c8b7bd3b93d264facbf290aeae4c483
Fix compile error on mingw where ETIMEDOUT is missing (because it's a WSA error).
This patch also changes FF_NETERROR() to be an AVERROR(), i.e. it is always
negative, whereas it was previously positive.

Originally committed as revision 22887 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/network.h
libavformat/rtsp.c