提交 d79fc840 编写于 作者: S Stefano Sabatini

Prefer AVERROR(ENOSYS) over AVERROR_NOTSUPP.

AVERROR_NOTSUPP is (maybe) going to be deprecated.

Originally committed as revision 22903 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 4c4ef3db
......@@ -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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册