ASNPer assertion.
- From: "Benni A. Aswin" <b.adham (at) gmail.com>
- Date: Mon, 6 Feb 2006 15:27:01 +0000
Hi,
I have the following error while testing with quintum on debug mode:
Assertion fail: Unimplemented function, file D:\work\pwlib\s
rc\Ptclib\asnper.cxx, line 1372
DbgHelpCreateUserDump(0, 0, 0, 0) + 0x559
<A>bort, <B>reak, <I>gnore?
I checked the file it gaves me this:
void PPER_Stream::LengthEncode(unsigned len, unsigned lower, unsigned upper)
{
// X.691 section 10.9
if (upper != INT_MAX && !aligned) {
PAssert(upper - lower < 0x10000, PUnimplementedFunction); //
10.9.4.2 unsupperted
MultiBitEncode(len - lower, CountBits(upper - lower + 1)); // 10.9.4.1
return;
}
if (upper < 65536) { // 10.9.3.3
UnsignedEncode(len, lower, upper);
return;
}
ByteAlign();
if (len < 128) {
MultiBitEncode(len, 8); // 10.9.3.6
return;
}
SingleBitEncode(TRUE);
if (len < 0x4000) {
MultiBitEncode(len, 15); // 10.9.3.7
return;
}
SingleBitEncode(TRUE);
PAssertAlways(PUnimplementedFunction); // 10.9.3.8 unsupported
}
I don't know much about PER encoding, but maybe someone can shed a
light and maybe i can do a little fix
thx
Benni-
------------------------------------------------------------------------
Check the FAQ before asking! - http://www.openh323.org/~openh323/fom.cgi
The OpenH323 Project mailing list, using Mailman. To unsubscribe or
change your subscription options, goto
http://www.openh323.org/mailman/listinfo/openh323
Maintained by Quicknet Technologies, Inc - http://www.quicknet.net
------------------------------------------------------------------------