Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
46b0eb66
Commit
46b0eb66
authored
May 23, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Kill VLC_OBJECT_INTF
parent
1ac60c8c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
6 deletions
+3
-6
src/interface/interface.c
src/interface/interface.c
+3
-1
src/libvlc.h
src/libvlc.h
+0
-1
src/misc/objects.c
src/misc/objects.c
+0
-4
No files found.
src/interface/interface.c
View file @
46b0eb66
...
...
@@ -73,9 +73,11 @@ int intf_Create( vlc_object_t *p_this, const char *psz_module )
{
libvlc_int_t
*
p_libvlc
=
p_this
->
p_libvlc
;
intf_thread_t
*
p_intf
;
static
const
char
psz_type
[]
=
"interface"
;
/* Allocate structure */
p_intf
=
vlc_object_create
(
p_libvlc
,
VLC_OBJECT_INTF
);
p_intf
=
vlc_custom_create
(
p_libvlc
,
sizeof
(
*
p_intf
),
VLC_OBJECT_GENERIC
,
psz_type
);
if
(
!
p_intf
)
return
VLC_ENOMEM
;
...
...
src/libvlc.h
View file @
46b0eb66
...
...
@@ -53,7 +53,6 @@ void system_End ( libvlc_int_t * );
#define vlc_object_signal_unlocked( obj )
vlc_list_t
*
vlc_list_find
(
vlc_object_t
*
,
int
,
int
);
#define VLC_OBJECT_INTF (-4)
/*
* Threads subsystem
...
...
src/misc/objects.c
View file @
46b0eb66
...
...
@@ -205,10 +205,6 @@ void * __vlc_object_create( vlc_object_t *p_this, int i_type )
switch
(
i_type
)
{
case
VLC_OBJECT_INTF
:
i_size
=
sizeof
(
intf_thread_t
);
psz_type
=
"interface"
;
break
;
case
VLC_OBJECT_DECODER
:
i_size
=
sizeof
(
decoder_t
);
psz_type
=
"decoder"
;
...
...
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