diff options
| author | Mickael Savinaud <savmickael@users.noreply.github.com> | 2011-10-11 08:01:31 +0000 |
|---|---|---|
| committer | Mickael Savinaud <savmickael@users.noreply.github.com> | 2011-10-11 08:01:31 +0000 |
| commit | 990dd18474c667538a3e3069bcce384b92cd2641 (patch) | |
| tree | 4027363c0ecd7f3ef88249474a402656b48384b3 /libopenjpeg/openjpeg.h | |
| parent | c4642d4fda91704f97dc85aa4f7513eaff1b571e (diff) | |
[trunk] WIP: add stream length value to read unknown marker size, backport 855 into V2 framework, correct memory leak into get_cstr_info
Diffstat (limited to 'libopenjpeg/openjpeg.h')
| -rw-r--r-- | libopenjpeg/openjpeg.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libopenjpeg/openjpeg.h b/libopenjpeg/openjpeg.h index 5cc8de1b..34ad7ab8 100644 --- a/libopenjpeg/openjpeg.h +++ b/libopenjpeg/openjpeg.h @@ -1085,6 +1085,13 @@ OPJ_API void OPJ_CALLCONV opj_stream_set_seek_function(opj_stream_t* p_stream, o */ OPJ_API void OPJ_CALLCONV opj_stream_set_user_data (opj_stream_t* p_stream, void * p_data); +/** + * Sets the length of the user data for the stream. + * @param p_stream the stream to modify + * @param data_length length of the user_data. +*/ +OPJ_API void OPJ_CALLCONV opj_stream_set_user_data_length(opj_stream_t* p_stream, OPJ_UINT32 data_length); + /** * Helper function. |
