aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/tree.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/tree.c
parentc73fcc8de3e314304819eed89216727a20e5e8a0 (diff)
downloadffmpeg-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/tree.c')
-rw-r--r--libavutil/tree.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavutil/tree.c b/libavutil/tree.c
index cba6fe8c78..5803c2a881 100644
--- a/libavutil/tree.c
+++ b/libavutil/tree.c
@@ -28,9 +28,7 @@ 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)
{