vp9_mc_template: limit assert to SCALED == 0

The handling of the other block sizes was limited to 'SCALED == 0' in
commit dc96c0f9fc, so this assert should
be disabled, too, as it can now be triggered.

Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
This commit is contained in:
Andreas Cadhalpun 2016-11-12 23:45:52 +01:00
parent 0539ff0e1b
commit 7112b56a34

View File

@ -205,7 +205,9 @@ static void FN(inter_pred)(AVCodecContext *ctx)
} else
#endif
{
#if SCALED == 0
av_assert2(b->bs == BS_4x4);
#endif
// FIXME if two horizontally adjacent blocks have the same MV,
// do a w8 instead of a w4 call