« Previous | Next » 

Revision c24a4034

IDc24a40349693e50aa81ef68a4a522503ca504d50
Parent 8e35f5d4
Child ebb92e07

Added by Martin Storsjö almost 10 years ago

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.

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

Signed-off-by: Ronald S. Bultje <>
(cherry picked from commit 28c4741a6617a4c1d2490cb13fc70ae4c9c472da)

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences