Patent ID: 8767840

Claim:
A method of processing video data, the method comprising: providing a bit-stream; and decoding the bit-stream comprising: extracting a data portion from the bit-stream; extracting a first backup copy of the data portion from the bit-stream, wherein the extracting the first backup copy of the data portion from the bit-stream comprises: shifting a shift correction byte in the bit-stream until the shift correction byte is identical to a pre-determined reference shift correction byte; and shifting the first backup copy of the data portion in a same shift direction and by a same number of bits as the shift correction byte is shifted; determining correct values of syntaxes in the data portion from the data portion itself and the first backup copy of the data portion, wherein the step of extracting the first backup copy of the data portion from the bit-stream comprises performing a circular redundancy check (CRC) to determine a correctness of the first backup copy of the data portion; retaining all bit values in the first backup copy of the data portion when the CRC passes; and cross-examining bit values in the data portion and in the first backup copy of the data portion when the CRC fails, wherein the cross-examining comprises comparing the bit values in the data portion and the bit values in the first backup copy of the data portion bit-by-bit, and adopting identical bit values, and wherein the identical bit values in the data portion and in the first backup copy of the data portion are corresponding bit values that are identical to each other.