• M
    libavformat: Remove FF_NETERRNO() · c24a4034
    Martin Storsjö 提交于
    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: NRonald S. Bultje <rsbultje@gmail.com>
    (cherry picked from commit 28c4741a)
    c24a4034
rtsp.c 67.3 KB