aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/url.c
Commit message (Collapse)AuthorAgeFilesLines
* avformat: Remove avformat and avio headers from protocolsAndreas Rheinhardt2023-09-101-2/+4
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avformat/url: add ff_make_absolulte_url2 to be able to test windows path casesMarton Balint2021-04-071-3/+9
| | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* avformat/url: fix ff_make_absolute_url with Windows file pathsMarton Balint2021-04-071-1/+23
| | | | | | | | Ugly, but a lot less broken than it was. Fixes ticket #9166. Signed-off-by: Marton Balint <cus@passwd.hu>
* avformat/url: Change () position in ff_make_absolute_url()Michael Niedermayer2020-12-161-2/+2
| | | | | | No testcase Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavf/url: fix relative url parsing when the query string or fragment has a colonruiquan.crq2020-10-281-1/+1
| | | | | | | | | This disallows the usage of ? and # in libavformat specific scheme options (e.g. subfile,,start,32815239,end,0,,:video.ts) but this change was considered acceptable. Signed-off-by: ruiquan.crq <caihaoning83@gmail.com> Signed-off-by: Marton Balint <cus@passwd.hu>
* lavf/url: rewrite ff_make_absolute_url() using ff_url_decompose().Nicolas George2020-08-121-129/+132
| | | | | | | | | | 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.
* lavf/url: add ff_url_decompose().Nicolas George2020-08-121-0/+71
|
* avformat/url: check return value of strchrSteven Liu2020-06-101-0/+5
| | | | | | | fix ticket: 8687 workflow should return if there have no value of strchr Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* avformat/url: check the result of the strrchrSteven Liu2020-05-191-1/+1
| | | | | | | | because it need be check for success, is should not change the old way if it failure. fix ticket: 8674 Signed-off-by: Steven Liu <liuqi05@kuaishou.com>
* avformat/url: check url root node when rel include double dot and trim ↵Steven Liu2020-05-061-4/+73
| | | | | | | | | double dot fix ticket: 8625 and add testcase into url for double dot corner case Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* avformat/url: Use size_t for len from strlen()Michael Niedermayer2015-05-111-1/+1
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavf: add directory listing APILukasz Marek2015-03-271-0/+16
| | | | | | | | API allows protocol implementations to provide API that allows to list directory content. API is similar to POSIX opendir/readdir/closedir. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge commit '4b1f5e5090abed6c618c8ba380cd7d28d140f867'Michael Niedermayer2014-08-151-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '4b1f5e5090abed6c618c8ba380cd7d28d140f867': cosmetics: Write NULL pointer inequality checks more compactly Conflicts: libavcodec/dvdsubdec.c libavcodec/h263dec.c libavcodec/libxvid.c libavcodec/rv10.c libavcodec/utils.c libavformat/format.c libavformat/matroskadec.c libavformat/segment.c libavutil/opt.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * cosmetics: Write NULL pointer inequality checks more compactlyGabriel Dume2014-08-151-1/+1
| | | | | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* | Merge commit 'df9f22d42b0905385629a9d368bb5a1eef2b45ef'Michael Niedermayer2013-06-171-4/+4
|/ | | | | | | | | | * commit 'df9f22d42b0905385629a9d368bb5a1eef2b45ef': avf: move url utility functions in a separate file Conflicts: libavformat/internal.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
* avf: move url utility functions in a separate fileLuca Barbato2013-06-161-0/+147