lavf/url: rewrite ff_make_absolute_url() using ff_url_decompose().
authorNicolas George <george@nsup.org>
Wed, 29 Jul 2020 22:02:10 +0000 (00:02 +0200)
committerNicolas George <george@nsup.org>
Wed, 12 Aug 2020 14:45:21 +0000 (16:45 +0200)
commit1201687da268c11459891a80ca1972aeaca8db88
tree957a7fa03127b4ba83ed810b8eccb0532dfda5f6
parentd853293679f93ef882e6a5f1c47eb5a65ceddf3d
lavf/url: rewrite ff_make_absolute_url() using ff_url_decompose().

Also add and update some tests.

Change the semantic a little, because for filesytem paths
symlinks complicate things.
See the comments in the code for detail.

Fix trac tickets #8813 and 8814.
libavformat/tests/url.c
libavformat/url.c
libavformat/url.h
tests/ref/fate/url