[FFmpeg-cvslog] r22903 - trunk/libavformat/librtmp.c
stefano
subversion
Sun Apr 18 21:09:22 CEST 2010
Author: stefano
Date: Sun Apr 18 21:09:22 2010
New Revision: 22903
Log:
Prefer AVERROR(ENOSYS) over AVERROR_NOTSUPP.
AVERROR_NOTSUPP is (maybe) going to be deprecated.
Modified:
trunk/libavformat/librtmp.c
Modified: trunk/libavformat/librtmp.c
==============================================================================
--- trunk/libavformat/librtmp.c Sun Apr 18 19:37:21 2010 (r22902)
+++ trunk/libavformat/librtmp.c Sun Apr 18 21:09:22 2010 (r22903)
@@ -141,7 +141,7 @@ static int64_t rtmp_read_seek(URLContext
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);
More information about the ffmpeg-cvslog
mailing list