From 7ea85f6fa99702e90a06bd3a535d3ba2d9e7afed Mon Sep 17 00:00:00 2001 From: Skylar Moore Date: Sat, 29 Aug 2015 01:10:30 -0700 Subject: [PATCH] Update MVRecalculate.cpp --- MVRecalculate.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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; }