aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/rc4.h
diff options
context:
space:
mode:
authorMarvin Scholz <epirat07@gmail.com>2022-09-25 00:59:23 +0200
committerAnton Khirnov <anton@khirnov.net>2022-10-17 09:56:47 +0200
commit3dea9adc67b0fa4d780442ef5532ca6a63e760b8 (patch)
treec6d146dd5e3148a18b7f140b7eaddd453bf3c4f7 /libavutil/rc4.h
parent0e7ce0d5e7036a43e9ace6f320c3ae01575b376d (diff)
downloadffmpeg-3dea9adc67b0fa4d780442ef5532ca6a63e760b8.tar.gz
avutil/rc4: Add doxy for missing arguments
Diffstat (limited to 'libavutil/rc4.h')
-rw-r--r--libavutil/rc4.h3
1 files changed, 3 insertions, 0 deletions
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