xrdp: xrdp_encoder.c fix compile when XRDP_RFXCODEC is not defined

master
Jay Sorg 7 years ago committed by jsorg71
parent a64cb81a36
commit acd05f365f

@ -172,12 +172,12 @@ xrdp_encoder_delete(struct xrdp_encoder *self)
if (self->process_enc == process_enc_jpg) if (self->process_enc == process_enc_jpg)
{ {
} }
#ifdef XRDP_RFXCODEC
else if (self->process_enc == process_enc_rfx) else if (self->process_enc == process_enc_rfx)
{ {
#ifdef XRDP_RFXCODEC
rfxcodec_encode_destroy(self->codec_handle); rfxcodec_encode_destroy(self->codec_handle);
#endif
} }
#endif
/* destroy wait objects used for signalling */ /* destroy wait objects used for signalling */
g_delete_wait_obj(self->xrdp_encoder_event_to_proc); g_delete_wait_obj(self->xrdp_encoder_event_to_proc);

Loading…
Cancel
Save