Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Steve Lhomme
VLC
Commits
4efa74c7
Commit
4efa74c7
authored
Jul 10, 2017
by
Steve Lhomme
Committed by
Jean-Baptiste Kempf
Jul 12, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
packetizer:copy: fix unchecked memory allocation
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
41c3b400
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
modules/packetizer/copy.c
modules/packetizer/copy.c
+3
-0
No files found.
modules/packetizer/copy.c
View file @
4efa74c7
...
...
@@ -106,6 +106,9 @@ static int Open( vlc_object_t *p_this )
}
p_dec
->
p_sys
=
p_sys
=
malloc
(
sizeof
(
*
p_sys
)
);
if
(
unlikely
(
p_sys
==
NULL
))
return
VLC_ENOMEM
;
p_sys
->
p_block
=
NULL
;
switch
(
p_dec
->
fmt_in
.
i_codec
)
{
...
...
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