"codec is not opened yet" ?