diff options
Diffstat (limited to 'libavformat/applehttpproto.c')
-rw-r--r-- | libavformat/applehttpproto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/applehttpproto.c b/libavformat/applehttpproto.c index 6f42992c13..168b2513bb 100644 --- a/libavformat/applehttpproto.c +++ b/libavformat/applehttpproto.c @@ -181,7 +181,7 @@ static int applehttp_open(URLContext *h, const char *uri, int flags) const char *nested_url; if (flags & (URL_WRONLY | URL_RDWR)) - return AVERROR_NOTSUPP; + return AVERROR(ENOSYS); s = av_mallocz(sizeof(AppleHTTPContext)); if (!s) |