Skip to content

Commit

Permalink
pipewire: fix build on big endian
Browse files Browse the repository at this point in the history
  • Loading branch information
q66 committed Jul 25, 2022
1 parent 48eb187 commit dee6794
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
From aaa015d0c0c66b64c7198a34ad3c4b43445667d2 Mon Sep 17 00:00:00 2001
From: Wim Taymans <wtaymans@redhat.com>
Date: Tue, 19 Jul 2022 13:06:52 +0200
Subject: [PATCH] avb: fix compilation on big endian

---
spa/plugins/avb/avbtp/packets.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/spa/plugins/avb/avbtp/packets.h b/spa/plugins/avb/avbtp/packets.h
index 7047456bf..3d4a652ee 100644
--- a/spa/plugins/avb/avbtp/packets.h
+++ b/spa/plugins/avb/avbtp/packets.h
@@ -116,7 +116,7 @@ struct spa_avbtp_packet_aaf {
unsigned gv:1;
unsigned tv:1;

- uint8_t seq_number;
+ uint8_t seq_num;

unsigned _r2:7;
unsigned tu:1;
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
From f857fd46262b1a90ad94f86e34216a1a886d9463 Mon Sep 17 00:00:00 2001
From: Wim Taymans <wtaymans@redhat.com>
Date: Tue, 19 Jul 2022 14:07:16 +0200
Subject: [PATCH] avb: fix compilation on big endian

---
src/modules/module-avb/iec61883.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/modules/module-avb/iec61883.h b/src/modules/module-avb/iec61883.h
index d3b3a7daa..6ca8724ad 100644
--- a/src/modules/module-avb/iec61883.h
+++ b/src/modules/module-avb/iec61883.h
@@ -37,7 +37,7 @@ struct avb_packet_iec61883 {
unsigned gv:1;
unsigned tv:1;

- uint8_t seq_number;
+ uint8_t seq_num;

unsigned _r2:7;
unsigned tu:1;

0 comments on commit dee6794

Please sign in to comment.