MP1-4155: fixed crash in RTSP protocol