add some debug checking to get_pdecode_cr_out