Commit 157b353c authored by Committed by Thomas Daede
Do not crash on very tiny images
Commit 8412ff0b avoided some crashes on tiny images, but it was incomplete: since it did not execute subsampled motion estimation with 32x32 blocks when the image was smaller, it left the array of Option<MotionVector> full of None, while rdo_mode_decision() unwrapped the values. If the option is None, use a default MotionVector instead to fix the problem.
Showing with 2 additions and 2 deletions