[vlc-devel] [PATCH 4/4] include: document that vlc_hash_md5_Finish does not modify context

Marvin Scholz epirat07 at gmail.com
Thu Jul 23 14:51:59 CEST 2020


---
 include/vlc_hash.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/vlc_hash.h b/include/vlc_hash.h
index fae6125735..9501a19b55 100644
--- a/include/vlc_hash.h
+++ b/include/vlc_hash.h
@@ -130,6 +130,7 @@ VLC_API void vlc_hash_md5_Update(vlc_hash_md5_t *ctx, const void *data, size_t s
  * concatenation of all provided data by previous calls to \ref vlc_hash_md5_Update.
  * The result is written to the buffer pointed to by output, which must be at
  * least \ref VLC_HASH_MD5_DIGEST_SIZE big.
+ * The context remains valid and can be used in future \ref vlc_hash_md5_Update calls.
  * 
  * \param[in,out] ctx    MD5 hash context to finish
  * \param[out]    output Output buffer to write to
-- 
2.24.3 (Apple Git-128)



More information about the vlc-devel mailing list