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
f9b6eba7
Commit
f9b6eba7
authored
May 09, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
QueueMsg: assert p_this
(If you don't want to give an object, then use fprintf() really...)
parent
ff9f9ffe
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
11 deletions
+1
-11
src/misc/messages.c
src/misc/messages.c
+1
-11
No files found.
src/misc/messages.c
View file @
f9b6eba7
...
@@ -268,6 +268,7 @@ static void QueueMsg( vlc_object_t *p_this, int i_queue, int i_type,
...
@@ -268,6 +268,7 @@ static void QueueMsg( vlc_object_t *p_this, int i_queue, int i_type,
const
char
*
psz_module
,
const
char
*
psz_module
,
const
char
*
psz_format
,
va_list
_args
)
const
char
*
psz_format
,
va_list
_args
)
{
{
assert
(
p_this
);
libvlc_priv_t
*
priv
=
libvlc_priv
(
p_this
->
p_libvlc
);
libvlc_priv_t
*
priv
=
libvlc_priv
(
p_this
->
p_libvlc
);
int
i_header_size
;
/* Size of the additionnal header */
int
i_header_size
;
/* Size of the additionnal header */
vlc_object_t
*
p_obj
;
vlc_object_t
*
p_obj
;
...
@@ -282,17 +283,6 @@ static void QueueMsg( vlc_object_t *p_this, int i_queue, int i_type,
...
@@ -282,17 +283,6 @@ static void QueueMsg( vlc_object_t *p_this, int i_queue, int i_type,
int
i_size
=
strlen
(
psz_format
)
+
INTF_MAX_MSG_SIZE
;
int
i_size
=
strlen
(
psz_format
)
+
INTF_MAX_MSG_SIZE
;
#endif
#endif
if
(
p_this
==
NULL
)
{
#ifndef NDEBUG
if
(
i_type
==
VLC_MSG_DBG
)
return
;
#endif
utf8_vfprintf
(
stderr
,
psz_format
,
_args
);
fputc
(
'\n'
,
stderr
);
return
;
}
if
(
p_this
->
i_flags
&
OBJECT_FLAGS_QUIET
||
if
(
p_this
->
i_flags
&
OBJECT_FLAGS_QUIET
||
(
p_this
->
i_flags
&
OBJECT_FLAGS_NODBG
&&
i_type
==
VLC_MSG_DBG
)
)
(
p_this
->
i_flags
&
OBJECT_FLAGS_NODBG
&&
i_type
==
VLC_MSG_DBG
)
)
return
;
return
;
...
...
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