summaryrefslogtreecommitdiff
path: root/libavutil/hmac.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2015-07-30 01:03:35 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2015-07-30 01:25:05 +0200
commit8c5cc7b7fba0986cb535cf96b0def708de1087b2 (patch)
treeae6e413e564fcc8f2b2662ba87794e7b3df25ad0 /libavutil/hmac.h
parent865564c466c35eb89519084cd4d64aa0d7dc5bb8 (diff)
avutil/hmac: support another ABI difference to the fork
spotted this and so adding it. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavutil/hmac.h')
-rw-r--r--libavutil/hmac.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavutil/hmac.h b/libavutil/hmac.h
index d36d4de19e..4045c08c4f 100644
--- a/libavutil/hmac.h
+++ b/libavutil/hmac.h
@@ -23,6 +23,7 @@
#include <stdint.h>
+#include "libavutil/avconfig.h"
/**
* @defgroup lavu_hmac HMAC
* @ingroup lavu_crypto
@@ -32,7 +33,11 @@
enum AVHMACType {
AV_HMAC_MD5,
AV_HMAC_SHA1,
+#if AV_HAVE_INCOMPATIBLE_LIBAV_ABI
+ AV_HMAC_SHA224,
+#else
AV_HMAC_SHA224 = 10,
+#endif
AV_HMAC_SHA256,
AV_HMAC_SHA384,
AV_HMAC_SHA512,