aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/avio.h
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2010-07-16 23:20:03 +0000
committerMartin Storsjö <martin@martin.st>2010-07-16 23:20:03 +0000
commitd5e9ddeb73ebcb18a369f6f682ae45e0d7feab3e (patch)
treed14bcb50b13e3477dd9b28122c74f046bd531b05 /libavformat/avio.h
parent5c32755570a155779cbad79cc7de50d9eca5d4c7 (diff)
downloadffmpeg-d5e9ddeb73ebcb18a369f6f682ae45e0d7feab3e.tar.gz
url_fskip: Return an error code if the url_fseek failed
Originally committed as revision 24277 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avio.h')
-rw-r--r--libavformat/avio.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/avio.h b/libavformat/avio.h
index a95504838c..3df9fadbf3 100644
--- a/libavformat/avio.h
+++ b/libavformat/avio.h
@@ -358,8 +358,9 @@ int64_t url_fseek(ByteIOContext *s, int64_t offset, int whence);
/**
* Skip given number of bytes forward.
* @param offset number of bytes
+ * @return 0 on success, <0 on error
*/
-void url_fskip(ByteIOContext *s, int64_t offset);
+int url_fskip(ByteIOContext *s, int64_t offset);
/**
* ftell() equivalent for ByteIOContext.