Fix for multi-threading bug in case of input video height <= 16 pixels. Patch by Lukasz Marek.
Changed paths: