summaryrefslogtreecommitdiff
path: root/libavformat/jvdec.c
diff options
context:
space:
mode:
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: