[FFmpeg-devel] [PATCH]RTSP Basic Authentication

Ronald S. Bultje rsbultje
Sat Feb 28 22:52:08 CET 2009


Hi Luca,

On Sat, Feb 28, 2009 at 4:33 PM, Luca Barbato <lu_zero at gentoo.org> wrote:
> Ronald S. Bultje wrote:
>> http.c does *4/3+12. I don't know why it does +12. The documentation
>> of _encode() is in line with what I wrote above (except that it
>> doesn't use ceil() but some simpler integer-only equivalent). Probably
>> a bug in http.c. Attached patch fixes this.
>
> I found the +12 in other places as well I don't remember why or where ^^;

I had a quick look in files matching grep base64_decode/encode and
didn't find anything. :-).

Ronald




More information about the ffmpeg-devel mailing list