diff options
author | James Almer <jamrial@gmail.com> | 2022-03-08 21:23:50 +0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2022-03-08 21:24:19 +0300 |
commit | 3d3c51a07cc3dd1e3687da40fdb6fbb857cbced1 (patch) | |
tree | 231c060308b037705e2a77cf5f19afbeb81e92b0 /include | |
parent | b6bec5b453dd7ef49b81a016fcdbfc7c157c6a66 (diff) |
data: add a public function to release a Dav1dDataProps reference
Diffstat (limited to 'include')
-rw-r--r-- | include/dav1d/common.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/dav1d/common.h b/include/dav1d/common.h index b55e939..8685b4f 100644 --- a/include/dav1d/common.h +++ b/include/dav1d/common.h @@ -78,4 +78,9 @@ typedef struct Dav1dDataProps { struct Dav1dUserData user_data; ///< user-configurable data, default NULL members } Dav1dDataProps; +/** + * Release reference to a Dav1dDataProps. + */ +DAV1D_API void dav1d_data_props_unref(Dav1dDataProps *props); + #endif /* DAV1D_COMMON_H */ |