Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
943bf4b4
Commit
943bf4b4
authored
Mar 09, 2006
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Don't crash if we want to msg_Dbg on an object that doesn't exist.
parent
4613b810
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
src/misc/messages.c
src/misc/messages.c
+5
-3
No files found.
src/misc/messages.c
View file @
943bf4b4
...
...
@@ -296,9 +296,9 @@ static void QueueMsg( vlc_object_t *p_this, int i_queue_id, int i_type,
const
char
*
psz_module
,
const
char
*
psz_format
,
va_list
_args
)
{
int
i_header_size
;
/* Size of the additionnal header */
int
i_header_size
;
/* Size of the additionnal header */
vlc_object_t
*
p_obj
;
msg_bank_t
*
p_bank
=
&
p_this
->
p_libvlc
->
msg_bank
;
/* message bank */
msg_bank_t
*
p_bank
;
/* message bank */
msg_queue_t
*
p_queue
=
NULL
;
char
*
psz_str
=
NULL
;
/* formatted message string */
char
*
psz_header
=
NULL
;
...
...
@@ -311,13 +311,15 @@ static void QueueMsg( vlc_object_t *p_this, int i_queue_id, int i_type,
#endif
int
i
;
if
(
p_this
->
i_flags
&
OBJECT_FLAGS_QUIET
||
if
(
p_this
==
NULL
||
p_this
->
i_flags
&
OBJECT_FLAGS_QUIET
||
(
p_this
->
i_flags
&
OBJECT_FLAGS_NODBG
&&
i_type
==
VLC_MSG_DBG
)
)
{
return
;
}
p_bank
=
&
p_this
->
p_libvlc
->
msg_bank
;
/*
* Convert message to string
*/
...
...
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