A decoding method for coded data representing original data. Corrupted
data is detected and replaced with buffered data. The buffered data is
stored in the buffer a time interval corresponding to an estimated
periodicity or an integer multiple thereof before the corrupted data was
received. The estimated periodicity is determined by estimating the
periodicity of the original data represented by the corrupted data.