Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
e8d99a6b
Commit
e8d99a6b
authored
Mar 29, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
root object: use vlc_custom_create
parent
28257ce4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
+2
-5
src/misc/objects.c
src/misc/objects.c
+0
-4
src/misc/threads.c
src/misc/threads.c
+2
-1
No files found.
src/misc/objects.c
View file @
e8d99a6b
...
@@ -239,10 +239,6 @@ void * __vlc_object_create( vlc_object_t *p_this, int i_type )
...
@@ -239,10 +239,6 @@ void * __vlc_object_create( vlc_object_t *p_this, int i_type )
switch
(
i_type
)
switch
(
i_type
)
{
{
case
VLC_OBJECT_GLOBAL
:
i_size
=
sizeof
(
libvlc_global_data_t
);
psz_type
=
"global"
;
break
;
case
VLC_OBJECT_LIBVLC
:
case
VLC_OBJECT_LIBVLC
:
i_size
=
sizeof
(
libvlc_int_t
);
i_size
=
sizeof
(
libvlc_int_t
);
psz_type
=
"libvlc"
;
psz_type
=
"libvlc"
;
...
...
src/misc/threads.c
View file @
e8d99a6b
...
@@ -187,7 +187,8 @@ int __vlc_threads_init( vlc_object_t *p_this )
...
@@ -187,7 +187,8 @@ int __vlc_threads_init( vlc_object_t *p_this )
#elif defined( LIBVLC_USE_PTHREAD )
#elif defined( LIBVLC_USE_PTHREAD )
#endif
#endif
p_root
=
vlc_object_create
(
p_libvlc_global
,
VLC_OBJECT_GLOBAL
);
p_root
=
vlc_custom_create
(
p_libvlc_global
,
0
,
VLC_OBJECT_GLOBAL
,
"global"
);
if
(
p_root
==
NULL
)
if
(
p_root
==
NULL
)
i_ret
=
VLC_ENOMEM
;
i_ret
=
VLC_ENOMEM
;
...
...
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