Merge "Moving get_scan() call out of decode_coeffs() function."