TigerVNC/tigervnc — pull request #46 by CendioOssman (2014-10-09 14:59:45+00:00)
Title: JPEG decoding broken with 16 bit depth

Turned out to be a silly copy-paste error in the RGB conversion routine. Updated the tests to catch the problem as well.