Added init value for encoder->ref_list to fix valgrind warnings

This might help with issue #16
Thanks again to ps-auxw for pointing this out ;)