On Mon, Jan 14, 2013 at 09:45:10PM +0200, Martin Storsjö wrote: > --- /dev/null > +++ b/libavutil/hmac.h > @@ -0,0 +1,92 @@ > + > +/** > + * Allocate an AVHMAC context. > + * @param type The hash function used for the HMAC. > + */ > +AVHMAC *av_hmac_alloc(enum AVHMACType type); > +/** > + * Free an AVHMAC context. > + * @param ctx The context to free, may be null.
NULL Leave an empty line between the two functions, same below. > +/** > + * Initialize an AVHMAC context with an authentication key. > + * @param ctx The HMAC context > + * @param key The authentication key > + * @param keylen The length of the key, in bytes This (and the ones below) could be more readable if you aligned the parameter descriptions. Diego _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
