[v4l-utils,1/2] ir-ctl: encode rc6 mode 0 can have 43 edges

Message ID 20240422104138.20535-1-sean@mess.org (mailing list archive)
State Accepted
Delegated to: Sean Young
Headers
Series [v4l-utils,1/2] ir-ctl: encode rc6 mode 0 can have 43 edges |

Commit Message

Sean Young April 22, 2024, 10:41 a.m. UTC
  Ensure allocate enough space.

Signed-off-by: Sean Young <sean@mess.org>
---
 utils/common/ir-encode.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

diff --git a/utils/common/ir-encode.c b/utils/common/ir-encode.c
index 069e7feb..c0571879 100644
--- a/utils/common/ir-encode.c
+++ b/utils/common/ir-encode.c
@@ -390,7 +390,7 @@  static const struct {
 	[RC_PROTO_NECX] = { "necx", 0xffffff, 67, 38000, nec_encode },
 	[RC_PROTO_NEC32] = { "nec32", 0xffffffff, 67, 38000, nec_encode },
 	[RC_PROTO_SANYO] = { "sanyo", 0x1fffff, 87, 38000, sanyo_encode },
-	[RC_PROTO_RC6_0] = { "rc6_0", 0xffff, 41, 36000, rc6_encode },
+	[RC_PROTO_RC6_0] = { "rc6_0", 0xffff, 43, 36000, rc6_encode },
 	[RC_PROTO_RC6_6A_20] = { "rc6_6a_20", 0xfffff, 52, 36000, rc6_encode },
 	[RC_PROTO_RC6_6A_24] = { "rc6_6a_24", 0xffffff, 60, 36000, rc6_encode },
 	[RC_PROTO_RC6_6A_32] = { "rc6_6a_32", 0xffffffff, 76, 36000, rc6_encode },