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
3b8c56cc
Commit
3b8c56cc
authored
Jun 15, 2008
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove silly out of memory message in out of memory situation.
parent
a2174f04
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
9 deletions
+0
-9
modules/video_filter/clone.c
modules/video_filter/clone.c
+0
-3
modules/video_filter/invert.c
modules/video_filter/invert.c
+0
-3
src/video_output/video_output.c
src/video_output/video_output.c
+0
-3
No files found.
modules/video_filter/clone.c
View file @
3b8c56cc
...
@@ -127,10 +127,7 @@ static int Create( vlc_object_t *p_this )
...
@@ -127,10 +127,7 @@ static int Create( vlc_object_t *p_this )
/* Allocate structure */
/* Allocate structure */
p_vout
->
p_sys
=
malloc
(
sizeof
(
vout_sys_t
)
);
p_vout
->
p_sys
=
malloc
(
sizeof
(
vout_sys_t
)
);
if
(
p_vout
->
p_sys
==
NULL
)
if
(
p_vout
->
p_sys
==
NULL
)
{
msg_Err
(
p_vout
,
"out of memory"
);
return
VLC_ENOMEM
;
return
VLC_ENOMEM
;
}
p_vout
->
pf_init
=
Init
;
p_vout
->
pf_init
=
Init
;
p_vout
->
pf_end
=
End
;
p_vout
->
pf_end
=
End
;
...
...
modules/video_filter/invert.c
View file @
3b8c56cc
...
@@ -79,10 +79,7 @@ static int Create( vlc_object_t *p_this )
...
@@ -79,10 +79,7 @@ static int Create( vlc_object_t *p_this )
/* Allocate structure */
/* Allocate structure */
p_filter
->
p_sys
=
malloc
(
sizeof
(
filter_sys_t
)
);
p_filter
->
p_sys
=
malloc
(
sizeof
(
filter_sys_t
)
);
if
(
p_filter
->
p_sys
==
NULL
)
if
(
p_filter
->
p_sys
==
NULL
)
{
msg_Err
(
p_filter
,
"out of memory"
);
return
VLC_ENOMEM
;
return
VLC_ENOMEM
;
}
p_filter
->
pf_video_filter
=
Filter
;
p_filter
->
pf_video_filter
=
Filter
;
...
...
src/video_output/video_output.c
View file @
3b8c56cc
...
@@ -245,10 +245,7 @@ vout_thread_t * __vout_Create( vlc_object_t *p_parent, video_format_t *p_fmt )
...
@@ -245,10 +245,7 @@ vout_thread_t * __vout_Create( vlc_object_t *p_parent, video_format_t *p_fmt )
/* Allocate descriptor */
/* Allocate descriptor */
p_vout
=
vlc_object_create
(
p_parent
,
VLC_OBJECT_VOUT
);
p_vout
=
vlc_object_create
(
p_parent
,
VLC_OBJECT_VOUT
);
if
(
p_vout
==
NULL
)
if
(
p_vout
==
NULL
)
{
msg_Err
(
p_parent
,
"out of memory"
);
return
NULL
;
return
NULL
;
}
/* Initialize pictures - translation tables and functions
/* Initialize pictures - translation tables and functions
* will be initialized later in InitThread */
* will be initialized later in InitThread */
...
...
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