diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-03-11 12:24:53 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-03-11 12:25:44 +0100 |
commit | 75a8e0f0ab644701061aec87f11a79fcaa8c1c29 (patch) | |
tree | f13636e4c0e7728bf9a009f335e3a11db2e88e0a /libavformat/avio.h | |
parent | b33fa8a1cdbe92824b833eb1ee3ec360f8d8b00f (diff) | |
download | ffmpeg-75a8e0f0ab644701061aec87f11a79fcaa8c1c29.tar.gz |
Add avio_skip()
Diffstat (limited to 'libavformat/avio.h')
-rw-r--r-- | libavformat/avio.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libavformat/avio.h b/libavformat/avio.h index 342980d6db..dd4380e4f4 100644 --- a/libavformat/avio.h +++ b/libavformat/avio.h @@ -477,6 +477,12 @@ int avio_put_str16le(AVIOContext *s, const char *str); int64_t avio_seek(AVIOContext *s, int64_t offset, int whence); /** + * Skip given number of bytes forward + * @return new position or AVERROR. + */ +int64_t avio_skip(AVIOContext *s, int64_t offset); + +/** * ftell() equivalent for AVIOContext. * @return position or AVERROR. */ |