diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-04-06 08:16:06 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-04-06 14:10:08 +0200 |
commit | f5b386afab51a2141447b682793ce001abdaeb5c (patch) | |
tree | 4cf5ebb1faee3cfbfd40fe0d919504710987881c /libavformat/assdec.c | |
parent | 56a1000917694b2277064c5573b0dd818ad7a379 (diff) | |
download | ffmpeg-f5b386afab51a2141447b682793ce001abdaeb5c.tar.gz |
Reemove remaining uses of deprecated AVERROR_NOTSUPP.
Diffstat (limited to 'libavformat/assdec.c')
-rw-r--r-- | libavformat/assdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/assdec.c b/libavformat/assdec.c index a50150513c..b270200af2 100644 --- a/libavformat/assdec.c +++ b/libavformat/assdec.c @@ -168,7 +168,7 @@ static int read_seek2(AVFormatContext *s, int stream_index, ASSContext *ass = s->priv_data; if (flags & AVSEEK_FLAG_BYTE) { - return AVERROR_NOTSUPP; + return AVERROR(ENOSYS); } else if (flags & AVSEEK_FLAG_FRAME) { if (ts < 0 || ts >= ass->event_count) return AVERROR(ERANGE); |