From d79fc8403b829cab5199a662390873706aed7986 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Sun, 18 Apr 2010 19:09:22 +0000 Subject: [PATCH] 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 --- libavformat/librtmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/librtmp.c b/libavformat/librtmp.c index 46aeaffd3a..69a69f1211 100644 --- a/libavformat/librtmp.c +++ b/libavformat/librtmp.c @@ -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);