Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/videolan/dav1d.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2022-03-08 21:23:50 +0300
committerJames Almer <jamrial@gmail.com>2022-03-08 21:24:19 +0300
commit3d3c51a07cc3dd1e3687da40fdb6fbb857cbced1 (patch)
tree231c060308b037705e2a77cf5f19afbeb81e92b0 /include
parentb6bec5b453dd7ef49b81a016fcdbfc7c157c6a66 (diff)
data: add a public function to release a Dav1dDataProps reference
Diffstat (limited to 'include')
-rw-r--r--include/dav1d/common.h5
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 */