[FFmpeg-devel] [PATCH] url_split() ipv6 support
Michael Niedermayer
michaelni
Thu Sep 27 20:35:14 CEST 2007
Hi
On Thu, Sep 27, 2007 at 02:16:59PM -0400, Ronald S. Bultje wrote:
[...]
> OK, all (where appliccable) use +1 now. New version attached.
>
> except these this looks very nice, and can be commited as soon as the ones
> > above are fixed and it works
>
>
> $ ./test-url_split "test.avi"-> "" :// "" @ "" : "0" / "test.avi"
> "/tmp/test.mp3"-> "" :// "" @ "" : "0" / "/tmp/test.mp3"
> "file:///tmp/test.mp3"-> "file" :// "" @ "" : "0" / "/tmp/test.mp3"
> "http://www.address.com"-> "http" :// "" @ "www.address.com" : "0" / ""
> "http://www.address.com/"-> "http" :// "" @ "www.address.com" : "0" / "/"
> "http://www.address.com:80"-> "http" :// "" @ "www.address.com" : "80" / ""
> "http://www.address.com:80/"-> "http" :// "" @ "www.address.com" : "80" /
> "/"
> "http://www.address.com:80/test.mp3"-> "http" :// "" @ "www.address.com" :
> "80" / "/test.mp3"
> "http://1.2.3.4:80/test.mp4"-> "http" :// "" @ "1.2.3.4" : "80" /
> "/test.mp4"
> "http://:::80/test.mp5"-> "http" :// "" @ "" : "0" / "/test.mp5"
> "http://[::1]:80/test.mp6"-> "http" :// "" @ "[" : "0" / "/test.mp6"
> "http://[host.address]:80/test.mp3"-> "http" :// "" @ "[host.address]" :
> "80" / "/test.mp3"
> "file:///[pat]h/to/file.mp3"-> "file" :// "" @ "" : "0" /
> "/[pat]h/to/file.mp3"
> "http://1:2:3:4:5:6:7:8:80/test.mp3"-> "http" :// "" @ "1" : "2" /
> "/test.mp3"
> "http://me@:::80/test.mp3"-> "http" :// "me" @ "" : "0" / "/test.mp3"
> "http://me:x@:::80/test.mp3"-> "http" :// "me:x" @ "" : "0" / "/test.mp3"
>
> Appears to work as before, the ipv6 ones fail, the rest works. Once in, the
> next patch will again fix the ipv6 ones.
patch ok
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
It is dangerous to be right in matters on which the established authorities
are wrong. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070927/de213099/attachment.pgp>
More information about the ffmpeg-devel
mailing list