]> git.sesse.net Git - ffmpeg/commit
avformat/libsrt: small fixes in libsrt_neterrno()
authorMarton Balint <cus@passwd.hu>
Fri, 14 Feb 2020 22:32:14 +0000 (23:32 +0100)
committerMarton Balint <cus@passwd.hu>
Sun, 23 Feb 2020 23:02:45 +0000 (00:02 +0100)
commit86a7b77b60488758e0c080882899c32c4a5ee017
tree5fbfc72b1e27e6cb0bb2b041f2be43f15046ae41
parentc112fae6603f8be33cf1ee2ae390ec939812f473
avformat/libsrt: small fixes in libsrt_neterrno()

Return os error code if available, check for both SRT_EASYNCRCV and
SRT_EASYNCSND when transforming them to EAGAIN and only display error if it is
not EAGAIN.

Signed-off-by: Marton Balint <cus@passwd.hu>
libavformat/libsrt.c