summaryrefslogtreecommitdiffstats
path: root/xrdp
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2018-01-17 11:45:36 -0800
committerjsorg71 <jay.sorg@gmail.com>2018-01-22 04:32:36 +0000
commitacd05f365f885e8a4aab23d23ba4ce48b6f31f71 (patch)
treeacf0f1889f9200707bb685d6614a26c2254f94d6 /xrdp
parenta64cb81a36f0a0db762b6f89a52e6d3e73d786e6 (diff)
downloadxrdp-proprietary-acd05f365f885e8a4aab23d23ba4ce48b6f31f71.tar.gz
xrdp-proprietary-acd05f365f885e8a4aab23d23ba4ce48b6f31f71.zip
xrdp: xrdp_encoder.c fix compile when XRDP_RFXCODEC is not defined
Diffstat (limited to 'xrdp')
-rw-r--r--xrdp/xrdp_encoder.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xrdp/xrdp_encoder.c b/xrdp/xrdp_encoder.c
index fddc6e45..5b5fc8d7 100644
--- a/xrdp/xrdp_encoder.c
+++ b/xrdp/xrdp_encoder.c
@@ -172,12 +172,12 @@ xrdp_encoder_delete(struct xrdp_encoder *self)
if (self->process_enc == process_enc_jpg)
{
}
+#ifdef XRDP_RFXCODEC
else if (self->process_enc == process_enc_rfx)
{
-#ifdef XRDP_RFXCODEC
rfxcodec_encode_destroy(self->codec_handle);
-#endif
}
+#endif
/* destroy wait objects used for signalling */
g_delete_wait_obj(self->xrdp_encoder_event_to_proc);