Remove unnecessary check in wav decoder