Commit 2f9b652e authored by Vittorio Giovara's avatar Vittorio Giovara

lavu: Drop deprecated context size variables

Deprecated in 10/2012.
parent 8f12ef98
...@@ -40,10 +40,6 @@ typedef struct AVAES { ...@@ -40,10 +40,6 @@ typedef struct AVAES {
int rounds; int rounds;
} AVAES; } AVAES;
#if FF_API_CONTEXT_SIZE
const int av_aes_size= sizeof(AVAES);
#endif
struct AVAES *av_aes_alloc(void) struct AVAES *av_aes_alloc(void)
{ {
return av_mallocz(sizeof(struct AVAES)); return av_mallocz(sizeof(struct AVAES));
......
...@@ -32,10 +32,6 @@ ...@@ -32,10 +32,6 @@
* @{ * @{
*/ */
#if FF_API_CONTEXT_SIZE
extern attribute_deprecated const int av_aes_size;
#endif
struct AVAES; struct AVAES;
/** /**
......
...@@ -42,10 +42,6 @@ typedef struct AVMD5{ ...@@ -42,10 +42,6 @@ typedef struct AVMD5{
uint32_t ABCD[4]; uint32_t ABCD[4];
} AVMD5; } AVMD5;
#if FF_API_CONTEXT_SIZE
const int av_md5_size = sizeof(AVMD5);
#endif
struct AVMD5 *av_md5_alloc(void) struct AVMD5 *av_md5_alloc(void)
{ {
return av_mallocz(sizeof(struct AVMD5)); return av_mallocz(sizeof(struct AVMD5));
......
...@@ -32,10 +32,6 @@ ...@@ -32,10 +32,6 @@
* @{ * @{
*/ */
#if FF_API_CONTEXT_SIZE
extern attribute_deprecated const int av_md5_size;
#endif
struct AVMD5; struct AVMD5;
struct AVMD5 *av_md5_alloc(void); struct AVMD5 *av_md5_alloc(void);
......
...@@ -40,10 +40,6 @@ typedef struct AVSHA { ...@@ -40,10 +40,6 @@ typedef struct AVSHA {
void (*transform)(uint32_t *state, const uint8_t buffer[64]); void (*transform)(uint32_t *state, const uint8_t buffer[64]);
} AVSHA; } AVSHA;
#if FF_API_CONTEXT_SIZE
const int av_sha_size = sizeof(AVSHA);
#endif
struct AVSHA *av_sha_alloc(void) struct AVSHA *av_sha_alloc(void)
{ {
return av_mallocz(sizeof(struct AVSHA)); return av_mallocz(sizeof(struct AVSHA));
......
...@@ -32,10 +32,6 @@ ...@@ -32,10 +32,6 @@
* @{ * @{
*/ */
#if FF_API_CONTEXT_SIZE
extern attribute_deprecated const int av_sha_size;
#endif
struct AVSHA; struct AVSHA;
/** /**
......
...@@ -29,10 +29,6 @@ typedef struct AVTreeNode { ...@@ -29,10 +29,6 @@ typedef struct AVTreeNode {
int state; int state;
} AVTreeNode; } AVTreeNode;
#if FF_API_CONTEXT_SIZE
const int av_tree_node_size = sizeof(AVTreeNode);
#endif
struct AVTreeNode *av_tree_node_alloc(void) struct AVTreeNode *av_tree_node_alloc(void)
{ {
return av_mallocz(sizeof(struct AVTreeNode)); return av_mallocz(sizeof(struct AVTreeNode));
......
...@@ -43,9 +43,6 @@ ...@@ -43,9 +43,6 @@
struct AVTreeNode; struct AVTreeNode;
#if FF_API_CONTEXT_SIZE
extern attribute_deprecated const int av_tree_node_size;
#endif
/** /**
* Allocate an AVTreeNode. * Allocate an AVTreeNode.
......
...@@ -78,9 +78,6 @@ ...@@ -78,9 +78,6 @@
* @{ * @{
*/ */
#ifndef FF_API_CONTEXT_SIZE
#define FF_API_CONTEXT_SIZE (LIBAVUTIL_VERSION_MAJOR < 55)
#endif
#ifndef FF_API_LLS_PRIVATE #ifndef FF_API_LLS_PRIVATE
#define FF_API_LLS_PRIVATE (LIBAVUTIL_VERSION_MAJOR < 55) #define FF_API_LLS_PRIVATE (LIBAVUTIL_VERSION_MAJOR < 55)
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment