History

lavu/hmac: remove deprecated type ids

Hendrik Leppkes committed 11 years ago

Commit 137f0751 parent 545559e3 files · +0 −13Browse files

Unified · Split

3 files
  1. libavutil/hmac.c +0 −6
  2. libavutil/hmac.h +0 −4
  3. libavutil/version.h +0 −3
libavutil/hmac.c+0−6
@@ -81,9 +81,6 @@ AVHMAC *av_hmac_alloc(enum AVHMACType type) · 80 unmodified lines
8181 c->hash = av_sha_alloc();
8282 break;
8383 case AV_HMAC_SHA224:
84−#if FF_API_HMAC
85− case AV_HMAC_SHA224_DEPRECATED:
86−#endif
8784 c->blocklen = 64;
8885 c->hashlen = 28;
8986 c->init = sha224_init;
@@ -92,9 +89,6 @@ AVHMAC *av_hmac_alloc(enum AVHMACType type) · 2 unmodified lines
9289 c->hash = av_sha_alloc();
9390 break;
9491 case AV_HMAC_SHA256:
95−#if FF_API_HMAC
96− case AV_HMAC_SHA256_DEPRECATED:
97−#endif
9892 c->blocklen = 64;
9993 c->hashlen = 32;
10094 c->init = sha256_init;
libavutil/hmac.h+0−4
@@ -35,10 +35,6 @@ enum AVHMACType { · 34 unmodified lines
3535 AV_HMAC_SHA1,
3636 AV_HMAC_SHA224,
3737 AV_HMAC_SHA256,
38−#if FF_API_HMAC
39− AV_HMAC_SHA224_DEPRECATED = 10,
40− AV_HMAC_SHA256_DEPRECATED,
41−#endif
4238 AV_HMAC_SHA384 = 12,
4339 AV_HMAC_SHA512,
4440 };
libavutil/version.h+0−3
@@ -102,9 +102,6 @@ · 101 unmodified lines
102102 #ifndef FF_API_DLOG
103103 #define FF_API_DLOG (LIBAVUTIL_VERSION_MAJOR < 56)
104104 #endif
105−#ifndef FF_API_HMAC
106−#define FF_API_HMAC (LIBAVUTIL_VERSION_MAJOR < 55)
107−#endif
108105 #ifndef FF_API_CRYPTO_CONTEXT
109106 #define FF_API_CRYPTO_CONTEXT (LIBAVUTIL_VERSION_MAJOR < 56)
110107 #endif

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t