Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
c5c81d88
Commit
c5c81d88
authored
Sep 11, 2007
by
Jean-Paul Saman
Committed by
Jean-Paul Saman
Mar 05, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Check malloc return value.
parent
ff1e46cc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
src/stream_output/stream_output.c
src/stream_output/stream_output.c
+5
-0
No files found.
src/stream_output/stream_output.c
View file @
c5c81d88
...
@@ -520,6 +520,11 @@ sout_input_t *sout_MuxAddStream( sout_mux_t *p_mux, es_format_t *p_fmt )
...
@@ -520,6 +520,11 @@ sout_input_t *sout_MuxAddStream( sout_mux_t *p_mux, es_format_t *p_fmt )
/* create a new sout input */
/* create a new sout input */
p_input
=
malloc
(
sizeof
(
sout_input_t
)
);
p_input
=
malloc
(
sizeof
(
sout_input_t
)
);
if
(
!
p_input
)
{
msg_Err
(
p_mux
,
"out of memory"
);
return
NULL
;
}
p_input
->
p_sout
=
p_mux
->
p_sout
;
p_input
->
p_sout
=
p_mux
->
p_sout
;
p_input
->
p_fmt
=
p_fmt
;
p_input
->
p_fmt
=
p_fmt
;
p_input
->
p_fifo
=
block_FifoNew
(
p_mux
->
p_sout
);
p_input
->
p_fifo
=
block_FifoNew
(
p_mux
->
p_sout
);
...
...
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