aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/rc4.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2015-10-16 03:04:20 -0300
committerJames Almer <jamrial@gmail.com>2015-10-16 19:13:38 -0300
commit3d1690b8c69c5bfad165224393bedd806e30476e (patch)
treed524ead8e39a2d04e43b0b2ae9230ca024ee2fab /libavutil/rc4.c
parent6d0c8cb79ac0977099e1f6afb28465bd587c5706 (diff)
downloadffmpeg-3d1690b8c69c5bfad165224393bedd806e30476e.tar.gz
avutil: undo FF_API_CRYPTO_CONTEXT deprecation
It's been argued that the benefits of the current implementation far outweight those of making the structs opaque. This deprecation is not present in any release, so it can be safely removed. Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavutil/rc4.c')
-rw-r--r--libavutil/rc4.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/libavutil/rc4.c b/libavutil/rc4.c
index e507b4a1ab..6bd702c495 100644
--- a/libavutil/rc4.c
+++ b/libavutil/rc4.c
@@ -25,13 +25,6 @@
#include "mem.h"
#include "rc4.h"
-#if !FF_API_CRYPTO_CONTEXT
-struct AVRC4 {
- uint8_t state[256];
- int x, y;
-};
-#endif
-
AVRC4 *av_rc4_alloc(void)
{
return av_mallocz(sizeof(struct AVRC4));