mirror of
https://github.com/owntone/owntone-server.git
synced 2025-04-15 08:45:54 -04:00
[misc] Add comment for commit 27138ed
This commit is contained in:
parent
6f57026f63
commit
114881cd1c
@ -823,7 +823,9 @@ b64_decode(int *dstlen, const char *src)
|
|||||||
|
|
||||||
len = AV_BASE64_DECODE_SIZE(strlen(src));
|
len = AV_BASE64_DECODE_SIZE(strlen(src));
|
||||||
|
|
||||||
CHECK_NULL(L_MISC, out = calloc(1, len+1));
|
// Add a extra zero byte just in case we are decoding a string without null
|
||||||
|
// termination
|
||||||
|
CHECK_NULL(L_MISC, out = calloc(1, len + 1));
|
||||||
|
|
||||||
ret = av_base64_decode(out, src, len);
|
ret = av_base64_decode(out, src, len);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user