Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
33112b77
Commit
33112b77
authored
Aug 13, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix libvlc private data alignment (untested)
parent
95b8d816
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
src/libvlc.c
src/libvlc.c
+1
-2
src/libvlc.h
src/libvlc.h
+3
-1
No files found.
src/libvlc.c
View file @
33112b77
...
...
@@ -195,8 +195,7 @@ libvlc_int_t * libvlc_InternalCreate( void )
}
/* Allocate a libvlc instance object */
p_libvlc
=
vlc_custom_create
(
VLC_OBJECT
(
p_libvlc_global
),
sizeof
(
*
p_libvlc
)
+
sizeof
(
libvlc_priv_t
),
p_libvlc
=
vlc_custom_create
(
VLC_OBJECT
(
p_libvlc_global
),
sizeof
(
*
priv
),
VLC_OBJECT_LIBVLC
,
"libvlc"
);
if
(
p_libvlc
!=
NULL
)
i_instances
++
;
...
...
src/libvlc.h
View file @
33112b77
...
...
@@ -222,6 +222,8 @@ vlc_object_signal_maybe (vlc_object_t *p_this)
*/
typedef
struct
libvlc_priv_t
{
libvlc_int_t
public_data
;
/* Configuration */
vlc_mutex_t
config_lock
;
///< config file lock
char
*
psz_configfile
;
///< location of config file
...
...
@@ -263,7 +265,7 @@ typedef struct libvlc_priv_t
static
inline
libvlc_priv_t
*
libvlc_priv
(
libvlc_int_t
*
libvlc
)
{
return
(
libvlc_priv_t
*
)
(
libvlc
+
1
)
;
return
(
libvlc_priv_t
*
)
libvlc
;
}
void
playlist_ServicesDiscoveryKillAll
(
playlist_t
*
p_playlist
);
...
...
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