Revert "replace std::queue with std::vector, because queue crashes (probably because the memory is overwritten by a memset after the constructor)"

This reverts commit 2527608f846e73f8a837dccc06f4c655c1cc5755.
allocate decoder_context such that its constructor is called