Factor duplicated ff_fast_malloc() out into mem_internal.h
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 11 Jul 2015 21:58:39 +0000 (23:58 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 13 Jul 2015 00:41:43 +0000 (02:41 +0200)
commitd6ff68ad853cab83cb58905b33a3957d249a75dd
tree1fafcba3ded3d44f8589d6b26a86f09fe92cc528
parent03931ecf71710452fc9e89d4f18354f0b5e05395
Factor duplicated ff_fast_malloc() out into mem_internal.h

internal.h is difficult to use due to circular dependancies
mem.h is a public header ff_* is not public
Alternative solutions probably are possible too

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/utils.c
libavutil/mem.c
libavutil/mem_internal.h [new file with mode: 0644]