Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Gautam Chitnis
web-ui-redesign
Commits
dcbc6d8f
Commit
dcbc6d8f
authored
Oct 22, 2007
by
Rémi Denis-Courmont
Browse files
Fix warnings (it does not seem very logical for log_open to take a read-only libvlc anyway)
parent
3ef3aa10
Changes
2
Hide whitespace changes
Inline
Side-by-side
include/vlc/libvlc.h
View file @
dcbc6d8f
...
...
@@ -1169,7 +1169,7 @@ VLC_PUBLIC_API void libvlc_set_log_verbosity( libvlc_instance_t *p_instance, uns
* \param p_instance libvlc instance
* \param exception an initialized exception pointer
*/
VLC_PUBLIC_API
libvlc_log_t
*
libvlc_log_open
(
const
libvlc_instance_t
*
,
libvlc_exception_t
*
);
VLC_PUBLIC_API
libvlc_log_t
*
libvlc_log_open
(
libvlc_instance_t
*
,
libvlc_exception_t
*
);
/**
* Close an instance of VLC message log
...
...
src/control/log.c
View file @
dcbc6d8f
...
...
@@ -27,7 +27,7 @@
struct
libvlc_log_t
{
const
libvlc_instance_t
*
p_instance
;
libvlc_instance_t
*
p_instance
;
msg_subscription_t
*
p_messages
;
};
...
...
@@ -58,7 +58,7 @@ void libvlc_set_log_verbosity( libvlc_instance_t *p_instance, unsigned level, li
RAISEVOID
(
"Invalid VLC instance!"
);
}
libvlc_log_t
*
libvlc_log_open
(
const
libvlc_instance_t
*
p_instance
,
libvlc_exception_t
*
p_e
)
libvlc_log_t
*
libvlc_log_open
(
libvlc_instance_t
*
p_instance
,
libvlc_exception_t
*
p_e
)
{
struct
libvlc_log_t
*
p_log
=
(
struct
libvlc_log_t
*
)
malloc
(
sizeof
(
struct
libvlc_log_t
));
...
...
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