]> git.sesse.net Git - ffmpeg/blobdiff - libavutil/md5.h
rtpdec: Calculate and report packet reception jitter
[ffmpeg] / libavutil / md5.h
index c178bbb4d55a52b7b57da61cd68b82a269c51569..29e4e7c2ba2de901647f9cd12538be791fff4864 100644 (file)
 
 #include <stdint.h>
 
-extern const int av_md5_size;
+#include "attributes.h"
+#include "version.h"
+
+/**
+ * @defgroup lavu_md5 MD5
+ * @ingroup lavu_crypto
+ * @{
+ */
+
+#if FF_API_CONTEXT_SIZE
+extern attribute_deprecated const int av_md5_size;
+#endif
 
 struct AVMD5;
 
+struct AVMD5 *av_md5_alloc(void);
 void av_md5_init(struct AVMD5 *ctx);
 void av_md5_update(struct AVMD5 *ctx, const uint8_t *src, const int len);
 void av_md5_final(struct AVMD5 *ctx, uint8_t *dst);
 void av_md5_sum(uint8_t *dst, const uint8_t *src, const int len);
 
-#endif /* AVUTIL_MD5_H */
+/**
+ * @}
+ */
 
+#endif /* AVUTIL_MD5_H */