Module Name:    src
Committed By:   martin
Date:           Fri Sep 27 09:35:33 UTC 2019

Modified Files:
        src/usr.sbin/bta2dpd/bta2dpd [netbsd-9]: sbc_encode.c

Log Message:
Pull up following revision(s) (requested by nat in ticket #254):

        usr.sbin/bta2dpd/bta2dpd/sbc_encode.c: revision 1.10

Fix off by one in sbc encoder.  Test mode transmission and reception
works again.
XXX pullup -8 and -9.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.6.2.1 src/usr.sbin/bta2dpd/bta2dpd/sbc_encode.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.sbin/bta2dpd/bta2dpd/sbc_encode.c
diff -u src/usr.sbin/bta2dpd/bta2dpd/sbc_encode.c:1.6 src/usr.sbin/bta2dpd/bta2dpd/sbc_encode.c:1.6.2.1
--- src/usr.sbin/bta2dpd/bta2dpd/sbc_encode.c:1.6	Sat Jul 27 23:33:09 2019
+++ src/usr.sbin/bta2dpd/bta2dpd/sbc_encode.c	Fri Sep 27 09:35:33 2019
@@ -1,4 +1,4 @@
-/* $NetBSD: sbc_encode.c,v 1.6 2019/07/27 23:33:09 maya Exp $ */
+/* $NetBSD: sbc_encode.c,v 1.6.2.1 2019/09/27 09:35:33 martin Exp $ */
 
 /*-
  * Copyright (c) 2015 - 2016 Nathanial Sloss <[email protected]>
@@ -902,7 +902,7 @@ stream(int in, int outfd, uint8_t mode, 
 		totalSize += (size_t)mySize[numpkts];
 		numpkts++;
 
-		if (numpkts > 13)
+		if (numpkts > 12)
 			break;
 	}
 

Reply via email to