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
23c9ebff
Commit
23c9ebff
authored
Oct 02, 2014
by
Derek Buitenhuis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter: Properly check for failed format query
Signed-off-by:
Derek Buitenhuis
<
derek.buitenhuis@gmail.com
>
parent
1dbc3e8a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
avfiltergraph.c
libavfilter/avfiltergraph.c
+3
-1
No files found.
libavfilter/avfiltergraph.c
View file @
23c9ebff
...
...
@@ -559,7 +559,9 @@ static int query_formats(AVFilterGraph *graph, AVClass *log_ctx)
if
((
ret
=
avfilter_insert_filter
(
link
,
convert
,
0
,
0
))
<
0
)
return
ret
;
filter_query_formats
(
convert
);
if
((
ret
=
filter_query_formats
(
convert
))
<
0
)
return
ret
;
inlink
=
convert
->
inputs
[
0
];
outlink
=
convert
->
outputs
[
0
];
av_assert0
(
inlink
->
in_formats
->
refcount
>
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