path: root/include/gapk/formats.h
diff options
authorHarald Welte <laforge@gnumonks.org>2017-05-28 10:20:54 +0200
committerHarald Welte <laforge@gnumonks.org>2017-05-28 10:44:06 +0200
commit5912848d2edbf61158ac7edc72c2302649a0d9ed (patch)
treede76a2a48b98730f5cb92af44410e47761d0e61d /include/gapk/formats.h
parent62688b60c29225d557da8844d7259ce3eee962c5 (diff)
prepare gapk for dealing with variable-length frames
The existing architecture was modelled around fixed-length codec frame sizes, which of course fails with multi-rate codecs such as AMR.
Diffstat (limited to 'include/gapk/formats.h')
1 files changed, 1 insertions, 1 deletions
diff --git a/include/gapk/formats.h b/include/gapk/formats.h
index cb5e2fd..5e1a262 100644
--- a/include/gapk/formats.h
+++ b/include/gapk/formats.h
@@ -53,7 +53,7 @@ enum format_type {
#include <gapk/codecs.h> /* need to import here because or enum interdep */
-typedef int (*fmt_conv_cb_t)(uint8_t *dst, const uint8_t *src);
+typedef int (*fmt_conv_cb_t)(uint8_t *dst, const uint8_t *src, unsigned int src_len);
struct format_desc {
enum format_type type;