Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
5383df0c
Commit
5383df0c
authored
Dec 04, 2003
by
Rocky Bernstein
Browse files
Guard against invalid p_vcd in dbg_print.
parent
c2251f25
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/access/vcdx/vcdplayer.h
View file @
5383df0c
/*****************************************************************************
/*****************************************************************************
* Copyright (C) 2003 Rocky Bernstein (for VideoLAN)
* Copyright (C) 2003 Rocky Bernstein (for VideoLAN)
* $Id: vcdplayer.h,v 1.
2
2003/1
1
/0
9
0
0:52
:3
2
rocky Exp $
* $Id: vcdplayer.h,v 1.
3
2003/1
2
/0
4
0
5:14
:3
9
rocky Exp $
*
*
* Authors: Rocky Bernstein <rocky@panix.com>
* Authors: Rocky Bernstein <rocky@panix.com>
*
*
...
@@ -42,7 +42,7 @@
...
@@ -42,7 +42,7 @@
#define INPUT_DEBUG 1
#define INPUT_DEBUG 1
#if INPUT_DEBUG
#if INPUT_DEBUG
#define dbg_print(mask, s, args...) \
#define dbg_print(mask, s, args...) \
if (p_vcd->i_debug & mask) \
if (p_vcd
&& p_vcd
->i_debug & mask) \
msg_Dbg(p_input, "%s: "s, __func__ , ##args)
msg_Dbg(p_input, "%s: "s, __func__ , ##args)
#else
#else
#define dbg_print(mask, s, args...)
#define dbg_print(mask, s, args...)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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