Revision 148954fa ui/vnc.c

b/ui/vnc.c
696 696
        case VNC_ENCODING_TIGHT_PNG:
697 697
            n = vnc_tight_png_send_framebuffer_update(vs, x, y, w, h);
698 698
            break;
699
        case VNC_ENCODING_ZRLE:
700
            n = vnc_zrle_send_framebuffer_update(vs, x, y, w, h);
701
            break;
702
        case VNC_ENCODING_ZYWRLE:
703
            n = vnc_zywrle_send_framebuffer_update(vs, x, y, w, h);
704
            break;
699 705
        default:
700 706
            vnc_framebuffer_update(vs, x, y, w, h, VNC_ENCODING_RAW);
701 707
            n = vnc_raw_send_framebuffer_update(vs, x, y, w, h);
......
1028 1034

  
1029 1035
    vnc_zlib_clear(vs);
1030 1036
    vnc_tight_clear(vs);
1037
    vnc_zrle_clear(vs);
1031 1038

  
1032 1039
#ifdef CONFIG_VNC_TLS
1033 1040
    vnc_tls_client_cleanup(vs);
......
1766 1773
            vs->features |= VNC_FEATURE_ZLIB_MASK;
1767 1774
            vs->vnc_encoding = enc;
1768 1775
            break;
1776
        case VNC_ENCODING_ZRLE:
1777
            vs->features |= VNC_FEATURE_ZRLE_MASK;
1778
            vs->vnc_encoding = enc;
1779
            break;
1780
        case VNC_ENCODING_ZYWRLE:
1781
            vs->features |= VNC_FEATURE_ZYWRLE_MASK;
1782
            vs->vnc_encoding = enc;
1783
            break;
1769 1784
        case VNC_ENCODING_DESKTOPRESIZE:
1770 1785
            vs->features |= VNC_FEATURE_RESIZE_MASK;
1771 1786
            break;

Also available in: Unified diff