diff options
Diffstat (limited to 'libavformat/tcp.c')
-rw-r--r-- | libavformat/tcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/tcp.c b/libavformat/tcp.c index 212e43b7f1..6475c1277b 100644 --- a/libavformat/tcp.c +++ b/libavformat/tcp.c @@ -130,7 +130,7 @@ static int tcp_open(URLContext *h, const char *uri, int flags) return 0; fail: - ret = -EIO; + ret = AVERROR_IO; fail1: if (fd >= 0) close(fd); |