ref: 2356eb1ff6126916cca782ebd68ac7f478ab901e
parent: 869870e670f1934258edfd59c39041bc2e46e380
author: Martin Storsjö <martin@martin.st>
date: Fri Jan 30 05:44:04 EST 2015
Move the memory allocation/deallocation routines to the common library They are still used slightly differently in the encoder and decoder; the decoder uses plain functions while the encoder uses one object keeping track of the number of allocated bytes, and keeping track of the requested alignment.