From 16f8d7f4482d4aadb3279ded8fed845cf61ce5b4 Mon Sep 17 00:00:00 2001 From: Sylvain Munaut Date: Thu, 11 Nov 2010 15:31:16 +0100 Subject: 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 --- include/gapk/formats.h | 3 +++ 1 file changed, 3 insertions(+) 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); -- cgit v1.2.3