diff --git a/libavformat/avio.c b/libavformat/avio.c index af9e049142..3fb64d149c 100644 --- a/libavformat/avio.c +++ b/libavformat/avio.c @@ -201,7 +201,7 @@ int64_t url_seek(URLContext *h, int64_t pos, int whence) int64_t ret; if (!h->prot->url_seek) - return AVERROR(EPIPE); + return AVERROR(ENOSYS); ret = h->prot->url_seek(h, pos, whence & ~AVSEEK_FORCE); return ret; }