summaryrefslogtreecommitdiff
path: root/libavformat/jvdec.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/jvdec.c
parent56a1000917694b2277064c5573b0dd818ad7a379 (diff)
Reemove remaining uses of deprecated AVERROR_NOTSUPP.
Diffstat (limited to 'libavformat/jvdec.c')
-rw-r--r--libavformat/jvdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/jvdec.c b/libavformat/jvdec.c
index c180e5db4c..d4008f7148 100644
--- a/libavformat/jvdec.c
+++ b/libavformat/jvdec.c
@@ -192,7 +192,7 @@ static int read_seek(AVFormatContext *s, int stream_index,
int i;
if (flags & (AVSEEK_FLAG_BYTE|AVSEEK_FLAG_FRAME))
- return AVERROR_NOTSUPP;
+ return AVERROR(ENOSYS);
switch(stream_index) {
case 0: