aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSylvain Munaut <tnt@246tNt.com>2010-11-11 15:31:16 +0100
committerSylvain Munaut <tnt@246tNt.com>2010-11-11 20:26:41 +0100
commit16f8d7f4482d4aadb3279ded8fed845cf61ce5b4 (patch)
treeda7f7e523df3c15f788ce092579569a2998f00cb
parent6c96cc28b3fdb1b4bf37cfd51cf1e1199affee4e (diff)
format: Add fields in format descriptor for fixed headers
Very simple header support, but that's all we need for AMR Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
-rw-r--r--include/gapk/formats.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/gapk/formats.h b/include/gapk/formats.h
index abaca6d..e4df527 100644
--- a/include/gapk/formats.h
+++ b/include/gapk/formats.h
@@ -53,6 +53,9 @@ struct format_desc {
unsigned int frame_len;
fmt_conv_cb_t conv_from_canon;
fmt_conv_cb_t conv_to_canon;
+
+ unsigned int header_len;
+ const uint8_t * header;
};
const struct format_desc *fmt_get_from_type(enum format_type type);