]> git.sesse.net Git - ffmpeg/commitdiff
rc4: extend av_rc4_init() doxy
authorJames Almer <jamrial@gmail.com>
Fri, 31 Jul 2015 07:01:06 +0000 (09:01 +0200)
committerAnton Khirnov <anton@khirnov.net>
Fri, 31 Jul 2015 07:04:12 +0000 (09:04 +0200)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavutil/rc4.h

index f6d2d44504787c25b16bc9109feceb861ef20a86..38ae52f29863c92fc8ff02edb6300af9c3911d16 100644 (file)
@@ -49,6 +49,7 @@ AVRC4 *av_rc4_alloc(void);
  *
  * @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
  */
 int av_rc4_init(struct AVRC4 *d, const uint8_t *key, int key_bits, int decrypt);