[Live-devel] base64Decode Drop Trailing Zeros
Chris Richardson (WTI)
chris at gotowti.com
Wed Aug 14 12:30:41 PDT 2013
Hi Ross,
Thanks for taking a look. Attached you will find the patch. What I am
attempting to do is drop only zeros that were generated via padding
characters. I'm not sure it is correct for all cases, but I ran a bunch of
tests here and it seems to work OK.
Thanks,
Chris Richardson
WTI
From: live-devel-bounces at ns.live555.com
[mailto:live-devel-bounces at ns.live555.com] On Behalf Of Ross Finlayson
Sent: Wednesday, August 14, 2013 11:55 AM
To: LIVE555 Streaming Media - development & use
Subject: Re: [Live-devel] base64Decode Drop Trailing Zeros
I am using the LIVE555 function base64Decode to decode some base64 data.
Usually I want to drop the trailing zeros so I don't end up with extra zeros
from the padding data, but if the source data itself contains trailing zeros
I would like to keep them.
Is there a simple change you would accept to base64Decode, to handle this?
Mumble... Let's take a look at your suggested patch.
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20130814/de4c25b3/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Base64.cpp.patch
Type: application/octet-stream
Size: 964 bytes
Desc: not available
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20130814/de4c25b3/attachment.obj>
More information about the live-devel
mailing list