Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
eea00381
Commit
eea00381
authored
Oct 05, 2012
by
Duncan Salerno
Committed by
Martin Storsjö
Oct 09, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
url: Handle relative urls being just a new query string
Signed-off-by:
Martin Storsjö
<
martin@martin.st
>
parent
a6363e3d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
utils.c
libavformat/utils.c
+6
-0
No files found.
libavformat/utils.c
View file @
eea00381
...
...
@@ -3417,6 +3417,12 @@ void ff_make_absolute_url(char *buf, int size, const char *base,
if
(
path_query
!=
NULL
)
*
path_query
=
'\0'
;
/* Is relative path just a new query part? */
if
(
rel
[
0
]
==
'?'
)
{
av_strlcat
(
buf
,
rel
,
size
);
return
;
}
/* Remove the file name from the base url */
sep
=
strrchr
(
buf
,
'/'
);
if
(
sep
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment