[misc] Add comment for commit 27138ed

This commit is contained in:
ejurgensen 2020-03-25 16:13:55 +01:00
parent 6f57026f63
commit 114881cd1c
1 changed files with 3 additions and 1 deletions

View File

@ -823,7 +823,9 @@ b64_decode(int *dstlen, const char *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);
if (ret < 0)