Note that seek uses SEEK_SET behavior.

This commit is contained in:
Campbell Barton 2018-01-18 15:16:03 +11:00 committed by GitHub
parent 07d526e4cb
commit 6941bc67cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -1178,7 +1178,8 @@ OPJ_API void OPJ_CALLCONV opj_stream_set_skip_function(opj_stream_t* p_stream,
opj_stream_skip_fn p_function); opj_stream_skip_fn p_function);
/** /**
* Sets the given function to be used as a seek function, the stream is then seekable. * Sets the given function to be used as a seek function, the stream is then seekable,
* using SEEK_SET behavior.
* @param p_stream the stream to modify * @param p_stream the stream to modify
* @param p_function the function to use a skip function. * @param p_function the function to use a skip function.
*/ */