This set aims at making the API of these four modules more consistent with the rest of libavutil crypto stuff by adding alloc functions as well as making the contexts opaque starting with the next lavu major version.
The last three patches are untested as i don't have access to an rtmpe stream or encrypted asf/oma files. They are nonetheless not needed for the time being and can be postponed until someone can properly test them if that's preferred. James Almer (7): blowfish: add av_blowfish_alloc() rc4: add av_rc4_alloc() xtea: add av_xtea_alloc() des: add av_des_alloc() rtmp: use the new blowfish/rc4/xtea alloc functions asfdec: use the new rc4/des alloc functions omadec: use the new des alloc function doc/APIchanges | 6 +++++ libavformat/asfcrypt.c | 35 +++++++++++++++++--------- libavformat/asfcrypt.h | 2 +- libavformat/asfdec.c | 12 ++++++--- libavformat/omadec.c | 54 ++++++++++++++++++++++++++++------------ libavformat/rtmpcrypt.c | 66 +++++++++++++++++++++++++++++++------------------ libavformat/rtmpcrypt.h | 5 ++-- libavformat/rtmpproto.c | 15 ++++++----- libavutil/blowfish.c | 15 +++++++++++ libavutil/blowfish.h | 10 ++++++++ libavutil/des.c | 13 ++++++++++ libavutil/des.h | 20 +++++++++++++++ libavutil/rc4.c | 13 ++++++++++ libavutil/rc4.h | 21 ++++++++++++++++ libavutil/version.h | 5 +++- libavutil/xtea.c | 12 +++++++++ libavutil/xtea.h | 10 ++++++++ 17 files changed, 249 insertions(+), 65 deletions(-) -- 2.4.5 _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
