Displaying 3 results from an estimated 3 matches for "lenbyt".
Did you mean:
lenb
2005 Oct 09
0
Fw: problem in encoder/decoder
...nput_frame,pMsg->m_pBuffer+pos,pMsg->m_nBufferSize-pos);
pos+=(pMsg->m_nBufferSize-pos);
}
//encode input frame
speex_bits_reset(&bits);
speex_encode(enc_state,input_frame,&bits);
nbBytes = speex_bits_write(&bits,(char*)encodedstr,MAX_FRAME_BYTES);
unsigned char lenbytes[1];
lenbytes[0]=nbBytes;
CopyMemory(result+encoded_bytes ,lenbytes,1);
encoded_bytes++;
CopyMemory(result+encoded_bytes ,encodedstr,nbBytes);
encoded_bytes+= nbBytes;
}
// save again to message buffer
if(pMsg->m_pBuffer != NULL)
{
delete pMsg->m_pBuffer;
pMsg->m_pB...
2018 Dec 04
2
[PATCH FOR DISCUSSION ONLY 0/2] v2v: Copy static IP address information over for Windows guests (RHBZ#1626503).
This patch is just for discussion. There are still a couple of issues
that I'm trying to fix.
One is that all of the test guests I have, even ones with static IPs,
have multiple interfaces, some using DHCP, so the conditions for
adding the Powershell script don't kick in. This makes testing very
awkward.
However a bigger issue is that I think the premise is wrong. In some
registries
2018 Dec 11
2
[PATCH v2 2/2] v2v: Copy static IP address information over for Windows guests (RHBZ#1626503).
v1 was here with much discussion:
https://www.redhat.com/archives/libguestfs/2018-December/msg00048.html
v2:
- Fix the case where there are multiple interfaces. Note this does
not preserve order correctly (see patch for comment on why that
is a hard problem).
- Preserve name servers.
This patch is still for discussion only. I'd like to see what might
be done to get this upstream