Use unique_ptr in SpcDecoder.