Commit 11cf04e
authored
fix(voice): correct padding amount calculation (#229)
Fixes an incorrect calculation of voice padding introduced with
618f306,
where the last byte was incorrectly unwrapped into a typed array.
Ref:
abalabahaha/eris#1558 (comment)
Ref: https://datatracker.ietf.org/doc/html/rfc3550#section-5.11 parent 0114e58 commit 11cf04e
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
964 | 964 | | |
965 | 965 | | |
966 | 966 | | |
967 | | - | |
| 967 | + | |
968 | 968 | | |
969 | 969 | | |
970 | 970 | | |
| |||
0 commit comments