From ac090fa68c6233076508705d80090edb9eea4eed Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 12 Oct 2012 18:58:55 +0200 Subject: 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 --- libavutil/sha.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'libavutil/sha.c') 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) { -- cgit v1.2.3