network: Use av_strerror for getting error messages
authorMartin Storsjö <martin@martin.st>
Tue, 19 Jun 2012 12:37:06 +0000 (15:37 +0300)
committerMartin Storsjö <martin@martin.st>
Tue, 19 Jun 2012 17:24:55 +0000 (20:24 +0300)
commita840cdda6cf7dbfe6858739f718d2ede9e3c375b
tree72a9bf7d609c33992f185f10489eea68229b21e8
parent860b40f1f2f5ed2cda0f4a8f44a631ffd2f94482
network: Use av_strerror for getting error messages

Also use ff_neterrno() instead of errno directly (which doesn't work
on windows), for getting the error code.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/tcp.c
libavformat/udp.c