Skip to content
Snippets Groups Projects
Commit 28c4741a authored by Martin Storsjö's avatar Martin Storsjö Committed by Ronald S. Bultje
Browse files

libavformat: Remove FF_NETERRNO()


Map EAGAIN and EINTR from ff_neterrno to the normal AVERROR()
error codes. Provide fallback definitions of other errno.h network
errors, mapping them to the corresponding winsock errors.

This eases catching these error codes in common code, without having
to distinguish between FF_NETERRNO(EAGAIN) and AVERROR(EAGAIN).

This fixes roundup issue 2614, unbreaking blocking network IO on
windows.

Signed-off-by: default avatarRonald S. Bultje <rsbultje@gmail.com>
parent 8f935b92
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment