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
ad5f861b
Commit
ad5f861b
authored
Oct 23, 2014
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat/libquvi: Forward whitelists to subdemuxer
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
7292b047
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
libquvi.c
libavformat/libquvi.c
+5
-0
No files found.
libavformat/libquvi.c
View file @
ad5f861b
...
...
@@ -22,6 +22,7 @@
#include "libavformat/avformat.h"
#include "libavformat/internal.h"
#include "libavutil/avassert.h"
#include "libavutil/opt.h"
typedef
struct
{
...
...
@@ -75,6 +76,10 @@ static int libquvi_read_header(AVFormatContext *s)
if
(
rc
!=
QUVI_OK
)
goto
quvi_fail
;
av_assert0
(
!
qc
->
fmtctx
->
codec_whitelist
&&
!
qc
->
fmtctx
->
format_whitelist
);
qc
->
fmtctx
->
codec_whitelist
=
av_strdup
(
s
->
codec_whitelist
);
qc
->
fmtctx
->
format_whitelist
=
av_strdup
(
s
->
format_whitelist
);
ret
=
avformat_open_input
(
&
qc
->
fmtctx
,
media_url
,
NULL
,
NULL
);
if
(
ret
<
0
)
goto
end
;
...
...
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