mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-05-31 07:05:24 +08:00
Reemove remaining uses of deprecated AVERROR_NOTSUPP.
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user