Reemove remaining uses of deprecated AVERROR_NOTSUPP.

This commit is contained in:
Anton Khirnov
2011-04-06 08:16:06 +02:00
parent 56a1000917
commit f5b386afab
5 changed files with 7 additions and 7 deletions

View File

@@ -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)