Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
bcee7c9e
Commit
bcee7c9e
authored
Mar 03, 2008
by
Rémi Duraffort
Browse files
Another check for malloc.
parent
c9c5170b
Changes
1
Show whitespace changes
Inline
Side-by-side
modules/visualization/visual/visual.c
View file @
bcee7c9e
...
...
@@ -231,6 +231,8 @@ static int Open( vlc_object_t *p_this )
int
i
;
p_effect
=
malloc
(
sizeof
(
visual_effect_t
)
);
if
(
!
p_effect
)
break
;
p_effect
->
i_width
=
p_sys
->
i_width
;
p_effect
->
i_height
=
p_sys
->
i_height
;
p_effect
->
i_nb_chans
=
aout_FormatNbChannels
(
&
p_filter
->
input
);
...
...
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