Fixed a possible crash with resolution change when changed resolution is not divisible by 8.
Fixed a possible crash with resolution change when changed resolution is not divisible by 8.

ultravideo/kvazzup,ultravideo/kvazzup