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
feb9057b
Commit
feb9057b
authored
Oct 23, 2014
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Forward whitelists to the asf demuxer
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
b76234c0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
rtpdec_asf.c
libavformat/rtpdec_asf.c
+6
-0
No files found.
libavformat/rtpdec_asf.c
View file @
feb9057b
...
...
@@ -25,6 +25,7 @@
* @author Ronald S. Bultje <rbultje@ronald.bitfreak.net>
*/
#include "libavutil/avassert.h"
#include "libavutil/base64.h"
#include "libavutil/avstring.h"
#include "libavutil/intreadwrite.h"
...
...
@@ -115,6 +116,11 @@ int ff_wms_parse_sdp_a_line(AVFormatContext *s, const char *p)
return
AVERROR
(
ENOMEM
);
rt
->
asf_ctx
->
pb
=
&
pb
;
av_dict_set
(
&
opts
,
"no_resync_search"
,
"1"
,
0
);
av_assert0
(
!
rt
->
asf_ctx
->
codec_whitelist
&&
!
rt
->
asf_ctx
->
format_whitelist
);
rt
->
asf_ctx
->
codec_whitelist
=
av_strdup
(
s
->
codec_whitelist
);
rt
->
asf_ctx
->
format_whitelist
=
av_strdup
(
s
->
format_whitelist
);
ret
=
avformat_open_input
(
&
rt
->
asf_ctx
,
""
,
&
ff_asf_demuxer
,
&
opts
);
av_dict_free
(
&
opts
);
if
(
ret
<
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