mirror of https://gerrit.osmocom.org/gapk
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>
This commit is contained in:
parent
6c96cc28b3
commit
16f8d7f448
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue