Commit c5c3ae33 authored by stefano's avatar stefano

Prefer AVERROR(ENOSYS) over AVERROR_NOTSUPP.

AVERROR_NOTSUPP is (maybe) going to be deprecated.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@22903 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent e30c1458
......@@ -141,7 +141,7 @@ static int64_t rtmp_read_seek(URLContext *s, int stream_index,
RTMP *r = s->priv_data;
if (flags & AVSEEK_FLAG_BYTE)
return AVERROR_NOTSUPP;
return AVERROR(ENOSYS);
/* seeks are in milliseconds */
timestamp = av_rescale(timestamp, AV_TIME_BASE, 1000);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment