summaryrefslogtreecommitdiffstats
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
parent8f12ef9860d0e164e4647fd5d5cebdb3cfb34a79 (diff)
downloadffmpeg-streaming-2f9b652e8c646eabef74a6742f0d7d4c9118fd0e.zip
ffmpeg-streaming-2f9b652e8c646eabef74a6742f0d7d4c9118fd0e.tar.gz
lavu: Drop deprecated context size variables
Deprecated in 10/2012.
-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 3ba5e9a..02a9281 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 edff275..5b45124 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 efb993e..f2e9061 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 29e4e7c..c26318c 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 2d9b58c..9e78d19 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 4c9a0c9..86ea0b0 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 d48d01a..998851f 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 424656e..e2f191c 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 afb64ae..3b28b83 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
OpenPOWER on IntegriCloud