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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ensure allocate enough space.

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

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 },
-- 
2.44.0





[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux