[FFmpeg-devel] [PATCH]RTSP Basic Authentication

Ronald S. Bultje rsbultje
Mon Feb 16 21:54:42 CET 2009


Hi,

On Mon, Feb 16, 2009 at 3:18 PM, Luca Barbato <lu_zero at gentoo.org> wrote:
> If you could give a try factorizing common auth code between http and
> rtsp would be quite appreciated. (they should be the very same)

I don't quite see what could be factorized? base-64 encoding is
already in lavu, the rest is just the construction of the Auth: line
in the header and generalizing that would take more code than the two
separate lines right now.

Of course, once we support multiple auth-encodings, that might no
longer be the case, but right now we don 't so we probably shouldn't
worry about it.

Ronald




More information about the ffmpeg-devel mailing list