diff --git a/channels/encomsp/client/encomsp_main.c b/channels/encomsp/client/encomsp_main.c index c6440617e..40891aefc 100644 --- a/channels/encomsp/client/encomsp_main.c +++ b/channels/encomsp/client/encomsp_main.c @@ -703,7 +703,7 @@ static UINT encomsp_send_change_participant_control_level_pdu( encomsp = (encomspPlugin*)context->handle; header.Type = ODTYPE_PARTICIPANT_CTRL_CHANGED; header.Length = ENCOMSP_ORDER_HEADER_SIZE + 6; - s = Stream_New(NULL, pdu->Length); + s = Stream_New(NULL, header.Length); if (!s) {