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
81a45bed
Commit
81a45bed
authored
Apr 06, 2008
by
Filippo Carone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
logger_iterator_next simplied
parent
7573989d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
24 deletions
+23
-24
src/control/log.c
src/control/log.c
+23
-24
No files found.
src/control/log.c
View file @
81a45bed
...
...
@@ -158,14 +158,17 @@ int libvlc_log_iterator_has_next( const libvlc_log_iterator_t *p_iter, libvlc_ex
}
libvlc_log_message_t
*
libvlc_log_iterator_next
(
libvlc_log_iterator_t
*
p_iter
,
struct
libvlc_log_message_t
*
buffer
,
libvlc_log_message_t
*
buffer
,
libvlc_exception_t
*
p_e
)
{
if
(
p_iter
)
{
if
(
buffer
&&
(
sizeof
(
struct
libvlc_log_message_t
)
==
buffer
->
sizeof_msg
)
)
{
int
i_pos
=
p_iter
->
i_pos
;
int
i_pos
;
if
(
!
p_iter
)
RAISENULL
(
"Invalid log iterator!"
);
if
(
!
buffer
)
RAISENULL
(
"Invalid message buffer!"
);
i_pos
=
p_iter
->
i_pos
;
if
(
i_pos
!=
p_iter
->
i_end
)
{
msg_item_t
*
msg
;
...
...
@@ -182,9 +185,5 @@ libvlc_log_message_t *libvlc_log_iterator_next( libvlc_log_iterator_t *p_iter,
return
buffer
;
}
RAISENULL
(
"No more messages"
);
}
RAISENULL
(
"Invalid message buffer!"
);
}
RAISENULL
(
"Invalid log iterator!"
);
}
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