summaryrefslogtreecommitdiff
path: root/libavutil/xtea.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavutil/xtea.h')
-rw-r--r--libavutil/xtea.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/libavutil/xtea.h b/libavutil/xtea.h
index 6f1e71e345..4281fd8c8f 100644
--- a/libavutil/xtea.h
+++ b/libavutil/xtea.h
@@ -23,6 +23,7 @@
#define AVUTIL_XTEA_H
#include <stdint.h>
+#include "version.h"
/**
* @file
@@ -32,9 +33,18 @@
* @{
*/
+#if FF_API_CRYPTO_CONTEXT
typedef struct AVXTEA {
uint32_t key[16];
} AVXTEA;
+#else
+typedef struct AVXTEA AVXTEA;
+#endif
+
+/**
+ * Allocate an AVXTEA context.
+ */
+AVXTEA *av_xtea_alloc(void);
/**
* Initialize an AVXTEA context.