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
dcbc6d8f
Commit
dcbc6d8f
authored
Oct 22, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
include/vlc/libvlc.h
include/vlc/libvlc.h
+1
-1
src/control/log.c
src/control/log.c
+2
-2
No files found.
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