summaryrefslogtreecommitdiff
path: root/libavutil
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2015-07-28 14:30:33 +0100
committerVittorio Giovara <vittorio.giovara@gmail.com>2015-08-28 16:04:27 +0200
commit2f9b652e8c646eabef74a6742f0d7d4c9118fd0e (patch)
tree34ab94b26c31b00c9c26f122fffcbf80a4f58ae2 /libavutil
parent8f12ef9860d0e164e4647fd5d5cebdb3cfb34a79 (diff)
lavu: Drop deprecated context size variables
Deprecated in 10/2012.
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/aes.c4
-rw-r--r--libavutil/aes.h4
-rw-r--r--libavutil/md5.c4
-rw-r--r--libavutil/md5.h4
-rw-r--r--libavutil/sha.c4
-rw-r--r--libavutil/sha.h4
-rw-r--r--libavutil/tree.c4
-rw-r--r--libavutil/tree.h3
-rw-r--r--libavutil/version.h3
9 files changed, 0 insertions, 34 deletions
diff --git a/libavutil/aes.c b/libavutil/aes.c
index 3ba5e9aef4..02a9281b77 100644
--- a/libavutil/aes.c
+++ b/libavutil/aes.c
@@ -40,10 +40,6 @@ 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));
diff --git a/libavutil/aes.h b/libavutil/aes.h
index edff275b7a..5b451241e4 100644
--- a/libavutil/aes.h
+++ b/libavutil/aes.h
@@ -32,10 +32,6 @@
* @{
*/
-#if FF_API_CONTEXT_SIZE
-extern attribute_deprecated const int av_aes_size;
-#endif
-
struct AVAES;
/**
diff --git a/libavutil/md5.c b/libavutil/md5.c
index efb993e605..f2e9061829 100644
--- a/libavutil/md5.c
+++ b/libavutil/md5.c
@@ -42,10 +42,6 @@ typedef struct AVMD5{
uint32_t ABCD[4];
} AVMD5;
-#if FF_API_CONTEXT_SIZE
-const int av_md5_size = sizeof(AVMD5);
-#endif
-
struct AVMD5 *av_md5_alloc(void)
{
return av_mallocz(sizeof(struct AVMD5));
diff --git a/libavutil/md5.h b/libavutil/md5.h
index 29e4e7c2ba..c26318c01d 100644
--- a/libavutil/md5.h
+++ b/libavutil/md5.h
@@ -32,10 +32,6 @@
* @{
*/
-#if FF_API_CONTEXT_SIZE
-extern attribute_deprecated const int av_md5_size;
-#endif
-
struct AVMD5;
struct AVMD5 *av_md5_alloc(void);
diff --git a/libavutil/sha.c b/libavutil/sha.c
index 2d9b58cda6..9e78d19d83 100644
--- a/libavutil/sha.c
+++ b/libavutil/sha.c
@@ -40,10 +40,6 @@ typedef struct AVSHA {
void (*transform)(uint32_t *state, const uint8_t buffer[64]);
} AVSHA;
-#if FF_API_CONTEXT_SIZE
-const int av_sha_size = sizeof(AVSHA);
-#endif
-
struct AVSHA *av_sha_alloc(void)
{
return av_mallocz(sizeof(struct AVSHA));
diff --git a/libavutil/sha.h b/libavutil/sha.h
index 4c9a0c9095..86ea0b065e 100644
--- a/libavutil/sha.h
+++ b/libavutil/sha.h
@@ -32,10 +32,6 @@
* @{
*/
-#if FF_API_CONTEXT_SIZE
-extern attribute_deprecated const int av_sha_size;
-#endif
-
struct AVSHA;
/**
diff --git a/libavutil/tree.c b/libavutil/tree.c
index d48d01af5b..998851f7f2 100644
--- a/libavutil/tree.c
+++ b/libavutil/tree.c
@@ -29,10 +29,6 @@ typedef struct AVTreeNode {
int state;
} AVTreeNode;
-#if FF_API_CONTEXT_SIZE
-const int av_tree_node_size = sizeof(AVTreeNode);
-#endif
-
struct AVTreeNode *av_tree_node_alloc(void)
{
return av_mallocz(sizeof(struct AVTreeNode));
diff --git a/libavutil/tree.h b/libavutil/tree.h
index 424656e06a..e2f191cdd7 100644
--- a/libavutil/tree.h
+++ b/libavutil/tree.h
@@ -43,9 +43,6 @@
struct AVTreeNode;
-#if FF_API_CONTEXT_SIZE
-extern attribute_deprecated const int av_tree_node_size;
-#endif
/**
* Allocate an AVTreeNode.
diff --git a/libavutil/version.h b/libavutil/version.h
index afb64ae0df..3b28b839dc 100644
--- a/libavutil/version.h
+++ b/libavutil/version.h
@@ -78,9 +78,6 @@
* @{
*/
-#ifndef FF_API_CONTEXT_SIZE
-#define FF_API_CONTEXT_SIZE (LIBAVUTIL_VERSION_MAJOR < 55)
-#endif
#ifndef FF_API_LLS_PRIVATE
#define FF_API_LLS_PRIVATE (LIBAVUTIL_VERSION_MAJOR < 55)
#endif