Fix the condition to create original residual buffer

This change may be needed to VTM etc

Merge request reports

Loading