[FFmpeg-devel] [PATCH] avutil/cast5: update Doxygen for av_castt_init with return information

Ganesh Ajjanagadde gajjanagadde at gmail.com
Thu Oct 15 23:44:49 CEST 2015


Signed-off-by: Ganesh Ajjanagadde <gajjanagadde at gmail.com>
---
 libavutil/cast5.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavutil/cast5.h b/libavutil/cast5.h
index e5cc8b1..68513e5 100644
--- a/libavutil/cast5.h
+++ b/libavutil/cast5.h
@@ -48,6 +48,7 @@ struct AVCAST5 *av_cast5_alloc(void);
   * @param ctx an AVCAST5 context
   * @param key a key of 5,6,...16 bytes used for encryption/decryption
   * @param key_bits number of keybits: possible are 40,48,...,128
+  * @return 0 on success, -1 if key_bits is not in the above list
  */
 int av_cast5_init(struct AVCAST5 *ctx, const uint8_t *key, int key_bits);
 
-- 
2.6.1



More information about the ffmpeg-devel mailing list