get_allocator
Description:
Lets Decoder sub-classes to know the memory allocator
used by the base class and its params.
Unref the allocator after use it.
Parameters:
| this |
a Decoder |
| allocator |
the Allocator used |
| params |
the AllocationParams of |