[FFmpeg-devel] [PATCH v3 44/54] avutil/rc4: Add doxy for missing arguments

Marvin Scholz epirat07 at gmail.com
Sun Sep 25 03:11:11 EEST 2022


---
 libavutil/rc4.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/libavutil/rc4.h b/libavutil/rc4.h
index 029cd2ad58..bf0ca6e942 100644
--- a/libavutil/rc4.h
+++ b/libavutil/rc4.h
@@ -42,6 +42,8 @@ AVRC4 *av_rc4_alloc(void);
 /**
  * @brief Initializes an AVRC4 context.
  *
+ * @param d pointer to the AVRC4 context
+ * @param key buffer containig the key
  * @param key_bits must be a multiple of 8
  * @param decrypt 0 for encryption, 1 for decryption, currently has no effect
  * @return zero on success, negative value otherwise
@@ -51,6 +53,7 @@ int av_rc4_init(struct AVRC4 *d, const uint8_t *key, int key_bits, int decrypt);
 /**
  * @brief Encrypts / decrypts using the RC4 algorithm.
  *
+ * @param d pointer to the AVRC4 context
  * @param count number of bytes
  * @param dst destination array, can be equal to src
  * @param src source array, can be equal to dst, may be NULL
-- 
2.37.0 (Apple Git-136)



More information about the ffmpeg-devel mailing list