Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-10-12 20:58:55 +0400
committerMichael Niedermayer <michaelni@gmx.at>2012-10-28 17:33:41 +0400
commitac090fa68c6233076508705d80090edb9eea4eed (patch)
tree6ded2c68e69d4e63f0637b890fc7d0db6e822cef /libavutil/sha.c
parentc73fcc8de3e314304819eed89216727a20e5e8a0 (diff)
lavu: keep context size variables
They are essential to be able to use the utils without av_malloc() That is for example use with malloc(), memalign(), some other private allocation function, on the stack or others. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/sha.c')
-rw-r--r--libavutil/sha.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavutil/sha.c b/libavutil/sha.c
index e3a956a4b5..8d5ca458f9 100644
--- a/libavutil/sha.c
+++ b/libavutil/sha.c
@@ -38,9 +38,7 @@ 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)
{