diff --git a/MVRecalculate.cpp b/MVRecalculate.cpp index e1f891f..7e1d5e5 100644 --- a/MVRecalculate.cpp +++ b/MVRecalculate.cpp @@ -323,11 +323,10 @@ static void VS_CC mvrecalculateCreate(const VSMap *in, VSMap *out, void *userDat } if (d.dctmode >= 5 && !((d.blksize == 4 && d.blksizev == 4) || - (d.blksize == 8 && d.blksizev == 4) || (d.blksize == 8 && d.blksizev == 8) || - (d.blksize == 16 && d.blksizev == 8) || - (d.blksize == 16 && d.blksizev == 16))) { - vsapi->setError(out, "Recalculate: dct 5..10 can only work with 4x4, 8x4, 8x8, 16x8, and 16x16 blocks."); + (d.blksize == 16 && d.blksizev == 16) || + (d.blksize == 32 && d.blksizev == 32))) { + vsapi->setError(out, "Recalculate: dct 5..10 can only work with 4x4, 8x8, 16x16, and 32x32 blocks."); return; }