From f5b386afab51a2141447b682793ce001abdaeb5c Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Wed, 6 Apr 2011 08:16:06 +0200 Subject: Reemove remaining uses of deprecated AVERROR_NOTSUPP. --- libavformat/wtv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/wtv.c') diff --git a/libavformat/wtv.c b/libavformat/wtv.c index 963a6bc753..8260fe19b2 100644 --- a/libavformat/wtv.c +++ b/libavformat/wtv.c @@ -1061,7 +1061,7 @@ static int read_seek(AVFormatContext *s, int stream_index, int i; if ((flags & AVSEEK_FLAG_FRAME) || (flags & AVSEEK_FLAG_BYTE)) - return AVERROR_NOTSUPP; + return AVERROR(ENOSYS); /* timestamp adjustment is required because wtv->pts values are absolute, * whereas AVIndexEntry->timestamp values are relative to epoch. */ -- cgit v1.2.3