avoid encoder crash with random pixel input
Merge pull request #1285 from dongzha/TestRandomEnc

avoid encoder crash with random pixel input
ut_win32
Merge pull request #1287 from syureyi/ut_win32

ut_win32
Merge remote-tracking branch 'upstream/master' into travis.android