We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a164f6d commit 13577f9Copy full SHA for 13577f9
include/private/dsp/arch/generic/coding.h
@@ -87,7 +87,11 @@ namespace lsp
87
{
88
// Enough space?
89
if (dl < 4)
90
- break;
+ {
91
+ *dst_left = dl;
92
+ *src_left = sl;
93
+ return n;
94
+ }
95
96
// Perform encode
97
uint32_t x = (s[0] << 16) | (s[1] << 8) | s[2];
@@ -147,7 +151,11 @@ namespace lsp
147
151
148
152
149
153
if (dl < 3)
154
155
156
150
157
break;
158
159
160
x = (base64_lookup[s[0]] << 18) |
161
(base64_lookup[s[1]] << 12) |
0 commit comments