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
ec73bd1f
Commit
ec73bd1f
authored
Dec 26, 2013
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/avectorscope: fix {} mistake in alloc check.
parent
6b36f577
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
avf_avectorscope.c
libavfilter/avf_avectorscope.c
+2
-1
No files found.
libavfilter/avf_avectorscope.c
View file @
ec73bd1f
...
...
@@ -186,9 +186,10 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *insamples)
p
->
outpicref
->
height
!=
outlink
->
h
)
{
av_frame_free
(
&
p
->
outpicref
);
p
->
outpicref
=
ff_get_video_buffer
(
outlink
,
outlink
->
w
,
outlink
->
h
);
if
(
!
p
->
outpicref
)
if
(
!
p
->
outpicref
)
{
av_frame_free
(
&
insamples
);
return
AVERROR
(
ENOMEM
);
}
for
(
i
=
0
;
i
<
outlink
->
h
;
i
++
)
memset
(
p
->
outpicref
->
data
[
0
]
+
i
*
p
->
outpicref
->
linesize
[
0
],
0
,
outlink
->
w
*
4
);
...
...
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