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
85de3792
Commit
85de3792
authored
Mar 02, 2008
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove useless error messages when allocation of structures failed.
Signed-off-by:
Jean-Paul Saman
<
jpsaman@videolan.org
>
parent
225300b5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
modules/mux/mpeg/ts.c
modules/mux/mpeg/ts.c
+0
-2
No files found.
modules/mux/mpeg/ts.c
View file @
85de3792
...
@@ -1025,7 +1025,6 @@ static int AddStream( sout_mux_t *p_mux, sout_input_t *p_input )
...
@@ -1025,7 +1025,6 @@ static int AddStream( sout_mux_t *p_mux, sout_input_t *p_input )
p_stream
->
lang
=
malloc
(
p_stream
->
i_langs
*
3
);
p_stream
->
lang
=
malloc
(
p_stream
->
i_langs
*
3
);
if
(
!
p_stream
->
lang
)
if
(
!
p_stream
->
lang
)
{
{
msg_Err
(
p_mux
,
"cannot add new stream, out of memory"
);
p_stream
->
i_langs
=
0
;
p_stream
->
i_langs
=
0
;
free
(
p_stream
);
free
(
p_stream
);
return
VLC_ENOMEM
;
return
VLC_ENOMEM
;
...
@@ -2255,7 +2254,6 @@ static void GetPMT( sout_mux_t *p_mux, sout_buffer_chain_t *c )
...
@@ -2255,7 +2254,6 @@ static void GetPMT( sout_mux_t *p_mux, sout_buffer_chain_t *c )
p_sys
->
dvbpmt
=
malloc
(
p_sys
->
i_num_pmt
*
sizeof
(
dvbpsi_pmt_t
)
);
p_sys
->
dvbpmt
=
malloc
(
p_sys
->
i_num_pmt
*
sizeof
(
dvbpsi_pmt_t
)
);
if
(
!
p_sys
->
dvbpmt
)
if
(
!
p_sys
->
dvbpmt
)
{
{
msg_Err
(
p_mux
,
"cannot generate a new pmt, out of memory"
);
return
;
return
;
}
}
}
}
...
...
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