diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-10-12 18:58:55 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-10-28 14:33:41 +0100 |
commit | ac090fa68c6233076508705d80090edb9eea4eed (patch) | |
tree | 6ded2c68e69d4e63f0637b890fc7d0db6e822cef /libavutil/sha.c | |
parent | c73fcc8de3e314304819eed89216727a20e5e8a0 (diff) | |
download | ffmpeg-ac090fa68c6233076508705d80090edb9eea4eed.tar.gz |
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.c | 2 |
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) { |