--- trunk/xvidcore/src/image/image.c 2019/01/17 14:24:50 2172 +++ trunk/xvidcore/src/image/image.c 2019/01/17 14:25:05 2173 @@ -415,10 +415,10 @@ /* packed conversions require height to be divisable by 2 (or even by 4 for interlaced conversion) */ - if (interlacing) - height_opt = height & (~3); - else - height_opt = height & (~1); + if (interlacing) + height_opt = height & (~3); + else + height_opt = height & (~1); func_opt(x_ptr, x_stride, y_ptr, u_ptr, v_ptr, y_stride, uv_stride,