From CD to DVD to Blu-ray Disc, that optical disc all adopted the error-correction code to improve the storage. The error-correction code for the Blu-ray Disc, the up-to-the-minute optical disc, is more advanced than others. Many new technologies are applied in the Blu-ray Disc, especial the error-correction code which called Picket code is more powerful than RS and RSPC code. In the same condition, the error-code rate of the optical disc which used the Picket code is 1.5x10-18, and the optical disc used RSPC is 5.7x10-7. In this paper, the characteristic of those technologies which used in the optical disc will be discussed, include RS code used in CD system, RSPC code used in DVD system, and Picket code. Finally, it will add two different error matrixes to simulate the process of the error-correction code for the DVD system. In this simulating process, especially, we will compare the RS and RSPC code from mathematical direction in the simulation which is different from the professional comparison, this method can be easily accepted by beginner and the comparative result is very intuitionistic for freshman.