summaryrefslogtreecommitdiff
path: root/src/sstv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sstv.c')
-rw-r--r--src/sstv.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sstv.c b/src/sstv.c
index 3365bee..9a6055e 100644
--- a/src/sstv.c
+++ b/src/sstv.c
@@ -21,9 +21,13 @@
#define CYCbCr2G(Y, Cb, Cr) CLIP( Y - (( 22544 * Cb + 46793 * Cr ) >> 16) + 135)
#define CYCbCr2B(Y, Cb, Cr) CLIP( Y + (116129 * Cb >> 16 ) - 226 )
+/*
+ * User-defined memory allocation functions
+ */
sstv_malloc_t sstv_malloc_user = NULL;
sstv_free_t sstv_free_user = NULL;
+
sstv_error_t
sstv_init(sstv_malloc_t alloc_func, sstv_free_t dealloc_func)
{