Browse Source

lavu: Drop deprecated context size variables

Deprecated in 10/2012.
tags/n3.0
Vittorio Giovara 9 years ago
parent
commit
2f9b652e8c
9 changed files with 0 additions and 34 deletions
  1. +0
    -4
      libavutil/aes.c
  2. +0
    -4
      libavutil/aes.h
  3. +0
    -4
      libavutil/md5.c
  4. +0
    -4
      libavutil/md5.h
  5. +0
    -4
      libavutil/sha.c
  6. +0
    -4
      libavutil/sha.h
  7. +0
    -4
      libavutil/tree.c
  8. +0
    -3
      libavutil/tree.h
  9. +0
    -3
      libavutil/version.h

+ 0
- 4
libavutil/aes.c View File

@@ -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));


+ 0
- 4
libavutil/aes.h View File

@@ -32,10 +32,6 @@
* @{
*/

#if FF_API_CONTEXT_SIZE
extern attribute_deprecated const int av_aes_size;
#endif

struct AVAES;

/**


+ 0
- 4
libavutil/md5.c View File

@@ -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));


+ 0
- 4
libavutil/md5.h View File

@@ -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);


+ 0
- 4
libavutil/sha.c View File

@@ -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));


+ 0
- 4
libavutil/sha.h View File

@@ -32,10 +32,6 @@
* @{
*/

#if FF_API_CONTEXT_SIZE
extern attribute_deprecated const int av_sha_size;
#endif

struct AVSHA;

/**


+ 0
- 4
libavutil/tree.c View File

@@ -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));


+ 0
- 3
libavutil/tree.h View File

@@ -43,9 +43,6 @@


struct AVTreeNode;
#if FF_API_CONTEXT_SIZE
extern attribute_deprecated const int av_tree_node_size;
#endif

/**
* Allocate an AVTreeNode.


+ 0
- 3
libavutil/version.h View File

@@ -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


Loading…
Cancel
Save