Mercurial > libavutil.hg
comparison rc4.c @ 686:b084f8cd043f libavutil
Remove more functions disabled by major version bump.
author | reimar |
---|---|
date | Sun, 08 Mar 2009 15:02:12 +0000 |
parents | 67fb0b442dd2 |
children |
comparison
equal
deleted
inserted
replaced
685:634bcf10f5df | 686:b084f8cd043f |
---|---|
57 x++; | 57 x++; |
58 y += state[x]; | 58 y += state[x]; |
59 } | 59 } |
60 r->x = x; r->y = y; | 60 r->x = x; r->y = y; |
61 } | 61 } |
62 | |
63 #if LIBAVUTIL_VERSION_MAJOR < 50 | |
64 void ff_rc4_enc(const uint8_t *key, int keylen, uint8_t *data, int datalen) { | |
65 AVRC4 r; | |
66 av_rc4_init(&r, key, keylen * 8, 0); | |
67 av_rc4_crypt(&r, data, data, datalen, NULL, 0); | |
68 } | |
69 #endif |