diff options
Diffstat (limited to 'libavutil/aes.c')
-rw-r--r-- | libavutil/aes.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libavutil/aes.c b/libavutil/aes.c index 6803c7190d..4656a48634 100644 --- a/libavutil/aes.c +++ b/libavutil/aes.c @@ -39,7 +39,14 @@ typedef struct AVAES { int rounds; } AVAES; +#if FF_API_CONTEXT_SIZE const int av_aes_size= sizeof(AVAES); +#endif + +struct AVAES *av_aes_alloc(void) +{ + return av_mallocz(sizeof(struct AVAES)); +} static const uint8_t rcon[10] = { 0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80, 0x1b, 0x36 |