[FFmpeg-devel] [PATCH] don't consider '?' as a special case in path

Ronald S. Bultje rsbultje
Wed Oct 31 13:05:32 CET 2007


Hi,

On 10/31/07, Benoit Fouet <benoit.fouet at purplelabs.com> wrote:
>
> [1]
> http://lists.mplayerhq.hu/pipermail/ffmpeg-user/2007-October/012171.html


Aha! On closer inspection, the old url_split() only strips the ? in
hostnames, not in paths (so technically, it strips http://host?opt=val, but
not http://host/?opt=val). We can go back to that behaviour but it sounds
really bad. Maybe I should fix udp.c / rtp.c to strip the question mark off
the host manually. :-). Of course, if this is how it's supposed to work,
I'll add it back, but I doubt it is.

(Isn't there another way to transfer options between protocol handlers, like
a cleaner way?)

Ronald




More information about the ffmpeg-devel mailing list