summaryrefslogtreecommitdiff
path: root/vpx_mem/vpx_mem.h
diff options
context:
space:
mode:
authorAlex Converse <aconverse@google.com>2016-10-05 10:51:30 -0700
committerAlex Converse <aconverse@google.com>2016-10-05 10:57:56 -0700
commit3063c376009d07ea9ebe6a9cdbf0d75bc5fa0c85 (patch)
tree80656fb02e37069b1433eeb3dd642e0fc11d0616 /vpx_mem/vpx_mem.h
parenta7456144ce0ab98e015548dd7cda4165ad2a800c (diff)
downloadlibvpx-3063c376009d07ea9ebe6a9cdbf0d75bc5fa0c85.tar
libvpx-3063c376009d07ea9ebe6a9cdbf0d75bc5fa0c85.tar.gz
libvpx-3063c376009d07ea9ebe6a9cdbf0d75bc5fa0c85.tar.bz2
libvpx-3063c376009d07ea9ebe6a9cdbf0d75bc5fa0c85.zip
Remove vpx_realloc()
It only handles the realloc constraint (preserving low elements) by serendipity, and we don't actually rely on that behavior anyway. Meanwhile the calls may do extra copying that gets immediately clobbered by the callers. Change-Id: I8dfa89e4a81084b084889c27bd272fdf85184e8d
Diffstat (limited to 'vpx_mem/vpx_mem.h')
-rw-r--r--vpx_mem/vpx_mem.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/vpx_mem/vpx_mem.h b/vpx_mem/vpx_mem.h
index c14f288b8..733aff488 100644
--- a/vpx_mem/vpx_mem.h
+++ b/vpx_mem/vpx_mem.h
@@ -26,7 +26,6 @@ extern "C" {
void *vpx_memalign(size_t align, size_t size);
void *vpx_malloc(size_t size);
void *vpx_calloc(size_t num, size_t size);
-void *vpx_realloc(void *memblk, size_t size);
void vpx_free(void *memblk);
#if CONFIG_VP9_HIGHBITDEPTH