summaryrefslogtreecommitdiff
path: root/libavutil/rc4.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavutil/rc4.c')
-rw-r--r--libavutil/rc4.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/libavutil/rc4.c b/libavutil/rc4.c
index e6e7dc9e1a..4e52ba5ac1 100644
--- a/libavutil/rc4.c
+++ b/libavutil/rc4.c
@@ -59,11 +59,3 @@ void av_rc4_crypt(AVRC4 *r, uint8_t *dst, const uint8_t *src, int count, uint8_t
}
r->x = x; r->y = y;
}
-
-#if LIBAVUTIL_VERSION_MAJOR < 50
-void ff_rc4_enc(const uint8_t *key, int keylen, uint8_t *data, int datalen) {
- AVRC4 r;
- av_rc4_init(&r, key, keylen * 8, 0);
- av_rc4_crypt(&r, data, data, datalen, NULL, 0);
-}
-#endif