summaryrefslogtreecommitdiffstats
path: root/libavutil/sha.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-10-12 18:58:55 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-10-28 14:33:41 +0100
commitac090fa68c6233076508705d80090edb9eea4eed (patch)
tree6ded2c68e69d4e63f0637b890fc7d0db6e822cef /libavutil/sha.c
parentc73fcc8de3e314304819eed89216727a20e5e8a0 (diff)
downloadffmpeg-streaming-ac090fa68c6233076508705d80090edb9eea4eed.zip
ffmpeg-streaming-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.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavutil/sha.c b/libavutil/sha.c
index e3a956a..8d5ca45 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)
{
OpenPOWER on IntegriCloud