mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-06-09 03:01:53 -04:00
milan-avb: move teh descriptor FAM at the end of the structure to avoid overflow
This commit is contained in:
parent
4d33f57325
commit
0bf4864d84
14 changed files with 126 additions and 204 deletions
|
|
@ -92,8 +92,6 @@ struct aecp_aem_avb_interface_counters {
|
|||
};
|
||||
|
||||
struct aecp_aem_avb_interface_state {
|
||||
struct avb_aem_desc_avb_interface desc;
|
||||
|
||||
struct avb_msrp_attribute domain_attr;
|
||||
|
||||
struct avb_mvrp_attribute vlan_attr;
|
||||
|
|
@ -113,7 +111,6 @@ struct aecp_aem_avb_interface_state {
|
|||
* \brief the generic entity state common for all flavor of AVB
|
||||
*/
|
||||
struct aecp_aem_entity_state {
|
||||
struct avb_aem_desc_entity desc;
|
||||
struct aecp_aem_lock_state lock_state;
|
||||
};
|
||||
|
||||
|
|
@ -160,12 +157,7 @@ struct stream_common {
|
|||
struct avb_msrp_attribute tfstream_attr;
|
||||
};
|
||||
|
||||
#define AVB_AEM_STREAM_DESC_EXTRA_SIZE 128
|
||||
|
||||
struct aecp_aem_stream_input_state {
|
||||
struct avb_aem_desc_stream desc;
|
||||
uint8_t desc_extra[AVB_AEM_STREAM_DESC_EXTRA_SIZE];
|
||||
|
||||
struct aecp_aem_stream_input_counters counters;
|
||||
struct stream_common common;
|
||||
struct avb_mvrp_attribute mvrp_attr;
|
||||
|
|
@ -210,9 +202,6 @@ struct aecp_aem_stream_output_counters {
|
|||
};
|
||||
|
||||
struct aecp_aem_stream_output_state {
|
||||
struct avb_aem_desc_stream desc;
|
||||
uint8_t desc_extra[AVB_AEM_STREAM_DESC_EXTRA_SIZE];
|
||||
|
||||
struct aecp_aem_stream_output_counters counters;
|
||||
struct stream_common common;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue