fix chroma plane bug in MC
find premature end of slice
Merge remote-tracking branch 'origin/master' into msvc_mingw_64bit