summaryrefslogtreecommitdiff
path: root/libavformat/wtv.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-04-06 08:16:06 +0200
committerAnton Khirnov <anton@khirnov.net>2011-04-06 14:10:08 +0200
commitf5b386afab51a2141447b682793ce001abdaeb5c (patch)
tree4cf5ebb1faee3cfbfd40fe0d919504710987881c /libavformat/wtv.c
parent56a1000917694b2277064c5573b0dd818ad7a379 (diff)
Reemove remaining uses of deprecated AVERROR_NOTSUPP.
Diffstat (limited to 'libavformat/wtv.c')
-rw-r--r--libavformat/wtv.c2
1 files changed, 1 insertions, 1 deletions
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. */