8svx: split delta decoding into a separate function.