diff options
author | Tuomas Virtanen <katajakasa@gmail.com> | 2018-07-01 22:04:49 +0300 |
---|---|---|
committer | Tuomas Virtanen <katajakasa@gmail.com> | 2018-07-01 22:04:49 +0300 |
commit | 2ea872a24eda920974ea1c9b69542248620c306a (patch) | |
tree | c57e648d06003736aeffea810e1f6723b96d2726 /include/kitchensink/kitsource.h | |
parent | 6d30b5ed4a555875f504d13ebb362205fbbf056f (diff) |
Handle AVSEEK_FORCE
Diffstat (limited to 'include/kitchensink/kitsource.h')
-rw-r--r-- | include/kitchensink/kitsource.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/kitchensink/kitsource.h b/include/kitchensink/kitsource.h index 533e233..9b744ca 100644 --- a/include/kitchensink/kitsource.h +++ b/include/kitchensink/kitsource.h @@ -87,6 +87,8 @@ typedef int (*Kit_ReadCallback)(void *userdata, uint8_t *buf, int size); * - SEEK_CUR: Reference position is the current position of the file pointer * - SEEK_END: Reference position is the end of the file * - AVSEEK_SIZE: Optional. Does not seek, instead finds the size of the source file. + * - AVSEEK_FORCE: Optional. Suggests that seeking should be done at any cost. May be passed alongside + * any of the SEEK_* flags, eg. SEEK_SET|AVSEEK_FORCE. * * The function must return the position (in bytes) we seeked to or <0 on error or on unsupported operation. * |