Module Name: src
Committed By: martin
Date: Fri Sep 27 09:48:23 UTC 2019
Modified Files:
src/usr.sbin/bta2dpd/bta2dpd [netbsd-8]: sbc_encode.c
Log Message:
Pull up following revision(s) (requested by nat in ticket #1393):
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.3 -r1.3.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.3 src/usr.sbin/bta2dpd/bta2dpd/sbc_encode.c:1.3.2.1
--- src/usr.sbin/bta2dpd/bta2dpd/sbc_encode.c:1.3 Sat May 27 10:04:57 2017
+++ src/usr.sbin/bta2dpd/bta2dpd/sbc_encode.c Fri Sep 27 09:48:23 2019
@@ -1,4 +1,4 @@
-/* $NetBSD: sbc_encode.c,v 1.3 2017/05/27 10:04:57 nat Exp $ */
+/* $NetBSD: sbc_encode.c,v 1.3.2.1 2019/09/27 09:48:23 martin Exp $ */
/*-
* Copyright (c) 2015 - 2016 Nathanial Sloss <[email protected]>
@@ -901,7 +901,7 @@ stream(int in, int outfd, uint8_t mode,
totalSize += (size_t)mySize[numpkts];
numpkts++;
- if (numpkts > 13)
+ if (numpkts > 12)
break;
}