summaryrefslogtreecommitdiff
path: root/libavformat/librtmp.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2010-04-18 19:09:22 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2010-04-18 19:09:22 +0000
commitd79fc8403b829cab5199a662390873706aed7986 (patch)
tree783de219d10b57595a1af84c2a40bd8d4b369730 /libavformat/librtmp.c
parent4c4ef3db4b939c57cdf18b1dcf9b8d5271658a70 (diff)
downloadffmpeg-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.c2
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);