• Romain Vimont's avatar
    Do not crash on very tiny images · 157b353c
    Romain Vimont authored
    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
encoder.rs 80.6 KB