asf: fix error handling in codec_list