]> source.dussan.org Git - tigervnc.git/commit
Flush entire JPEG buffer, ignoring state
authorPierre Ossman <ossman@cendio.se>
Fri, 16 Oct 2015 11:03:14 +0000 (13:03 +0200)
committerPierre Ossman <ossman@cendio.se>
Fri, 16 Oct 2015 11:03:14 +0000 (13:03 +0200)
commit1e61325deaf01771b661e3fa3fbe658ff6539147
tree45cf1cac87c3232c196c565649ea4b86e8d90d7a
parentf4a971edf41032da98b4b00334be24f637e21540
Flush entire JPEG buffer, ignoring state

libjpeg doesn't update the buffer state before calling the
empty_output_buffer() callback so we need to flush everything,
not just the apparent size.
common/rfb/JpegCompressor.cxx