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
c5e33743
Commit
c5e33743
authored
Oct 23, 2014
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat/sapdec: Forward whitelists to sdp demuxer
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
24cd4e50
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
sapdec.c
libavformat/sapdec.c
+6
-0
No files found.
libavformat/sapdec.c
View file @
c5e33743
...
...
@@ -20,6 +20,7 @@
*/
#include "avformat.h"
#include "libavutil/avassert.h"
#include "libavutil/avstring.h"
#include "libavutil/intreadwrite.h"
#include "network.h"
...
...
@@ -158,6 +159,11 @@ static int sap_read_header(AVFormatContext *s)
sap
->
sdp_ctx
->
max_delay
=
s
->
max_delay
;
sap
->
sdp_ctx
->
pb
=
&
sap
->
sdp_pb
;
sap
->
sdp_ctx
->
interrupt_callback
=
s
->
interrupt_callback
;
av_assert0
(
!
sap
->
sdp_ctx
->
codec_whitelist
&&
!
sap
->
sdp_ctx
->
format_whitelist
);
sap
->
sdp_ctx
->
codec_whitelist
=
av_strdup
(
s
->
codec_whitelist
);
sap
->
sdp_ctx
->
format_whitelist
=
av_strdup
(
s
->
format_whitelist
);
ret
=
avformat_open_input
(
&
sap
->
sdp_ctx
,
"temp.sdp"
,
infmt
,
NULL
);
if
(
ret
<
0
)
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