diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-04-18 19:09:22 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-04-18 19:09:22 +0000 |
commit | d79fc8403b829cab5199a662390873706aed7986 (patch) | |
tree | 783de219d10b57595a1af84c2a40bd8d4b369730 /libavformat/librtmp.c | |
parent | 4c4ef3db4b939c57cdf18b1dcf9b8d5271658a70 (diff) | |
download | ffmpeg-d79fc8403b829cab5199a662390873706aed7986.tar.gz |
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
Diffstat (limited to 'libavformat/librtmp.c')
-rw-r--r-- | libavformat/librtmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |