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
24cd4e50
Commit
24cd4e50
authored
Oct 23, 2014
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat/hls: forward whitelists to mpegts demuxer
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
2de9c5ed
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
hls.c
libavformat/hls.c
+5
-0
No files found.
libavformat/hls.c
View file @
24cd4e50
...
@@ -1344,6 +1344,11 @@ static int hls_read_header(AVFormatContext *s)
...
@@ -1344,6 +1344,11 @@ static int hls_read_header(AVFormatContext *s)
}
}
pls
->
ctx
->
pb
=
&
pls
->
pb
;
pls
->
ctx
->
pb
=
&
pls
->
pb
;
pls
->
stream_offset
=
stream_offset
;
pls
->
stream_offset
=
stream_offset
;
av_assert0
(
!
pls
->
ctx
->
codec_whitelist
&&
!
pls
->
ctx
->
format_whitelist
);
pls
->
ctx
->
codec_whitelist
=
av_strdup
(
s
->
codec_whitelist
);
pls
->
ctx
->
format_whitelist
=
av_strdup
(
s
->
format_whitelist
);
ret
=
avformat_open_input
(
&
pls
->
ctx
,
pls
->
segments
[
0
]
->
url
,
in_fmt
,
NULL
);
ret
=
avformat_open_input
(
&
pls
->
ctx
,
pls
->
segments
[
0
]
->
url
,
in_fmt
,
NULL
);
if
(
ret
<
0
)
if
(
ret
<
0
)
goto
fail
;
goto
fail
;
...
...
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