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
798ae879
Commit
798ae879
authored
Apr 26, 2018
by
Steven Liu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat/dashdec: fix compling warning "filename is deprecated"
Signed-off-by:
Steven Liu
<
lq@chinaffmpeg.org
>
parent
8ea8be59
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
dashdec.c
libavformat/dashdec.c
+3
-3
No files found.
libavformat/dashdec.c
View file @
798ae879
...
...
@@ -1403,7 +1403,7 @@ static int refresh_manifest(AVFormatContext *s)
c
->
videos
=
NULL
;
c
->
n_audios
=
0
;
c
->
audios
=
NULL
;
ret
=
parse_manifest
(
s
,
s
->
filename
,
NULL
);
ret
=
parse_manifest
(
s
,
s
->
url
,
NULL
);
if
(
ret
)
goto
finish
;
...
...
@@ -1759,7 +1759,7 @@ static int nested_io_open(AVFormatContext *s, AVIOContext **pb, const char *url,
av_log
(
s
,
AV_LOG_ERROR
,
"A DASH playlist item '%s' referred to an external file '%s'. "
"Opening this file was forbidden for security reasons
\n
"
,
s
->
filename
,
url
);
s
->
url
,
url
);
return
AVERROR
(
EPERM
);
}
...
...
@@ -1930,7 +1930,7 @@ static int dash_read_header(AVFormatContext *s)
update_options
(
&
c
->
headers
,
"headers"
,
u
);
}
if
((
ret
=
parse_manifest
(
s
,
s
->
filename
,
s
->
pb
))
<
0
)
if
((
ret
=
parse_manifest
(
s
,
s
->
url
,
s
->
pb
))
<
0
)
goto
fail
;
if
((
ret
=
save_avio_options
(
s
))
<
0
)
...
...
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