Change malloc() function to libav custom av_mallocz (close #6)