[FFmpeg-cvslog] r22901 - trunk/libavformat/avio.c

stefano subversion
Sun Apr 18 19:37:17 CEST 2010


Author: stefano
Date: Sun Apr 18 19:37:16 2010
New Revision: 22901

Log:
Make url_seek() return AVERROR(ENOSYS) rather than AVERROR(EPIPE) in
the case where the seek operation is not defined in the protocol
handler.

Modified:
   trunk/libavformat/avio.c

Modified: trunk/libavformat/avio.c
==============================================================================
--- trunk/libavformat/avio.c	Sat Apr 17 13:00:53 2010	(r22900)
+++ trunk/libavformat/avio.c	Sun Apr 18 19:37:16 2010	(r22901)
@@ -201,7 +201,7 @@ int64_t url_seek(URLContext *h, int64_t 
     int64_t ret;
 
     if (!h->prot->url_seek)
-        return AVERROR(EPIPE);
+        return AVERROR(ENOSYS);
     ret = h->prot->url_seek(h, pos, whence & ~AVSEEK_FORCE);
     return ret;
 }



More information about the ffmpeg-cvslog mailing list