• wm4's avatar
    tcp: properly return EOF · 0e1f771d
    wm4 authored
    There is no POSIX error code for EOF - recv() signals EOF by simply
    returning 0. But libavformat recently changed its conventions and
    requires an explicit AVERROR_EOF, or it might get into an endless retry
    loop, consuming 100% CPU while doing nothing.
    0e1f771d
tcp.c 9.44 KB