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
97bf3e7d
Commit
97bf3e7d
authored
Jul 23, 2002
by
Sam Hocevar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* ./src/input/input_info.c, ./src/misc/messages.c: initialized the first
vasprintf arguments to NULL for extra safety.
parent
4b1b77b6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
src/input/input_info.c
src/input/input_info.c
+2
-2
src/misc/messages.c
src/misc/messages.c
+2
-2
No files found.
src/input/input_info.c
View file @
97bf3e7d
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* input_info.c: Convenient functions to handle the input info structures
* input_info.c: Convenient functions to handle the input info structures
*****************************************************************************
*****************************************************************************
* Copyright (C) 1998-2001 VideoLAN
* Copyright (C) 1998-2001 VideoLAN
* $Id: input_info.c,v 1.
2 2002/07/22 21:14:30 sigmunau
Exp $
* $Id: input_info.c,v 1.
3 2002/07/23 00:30:22 sam
Exp $
*
*
* Authors: Sigmund Augdal <sigmunau@idi.ntnu.no>
* Authors: Sigmund Augdal <sigmunau@idi.ntnu.no>
*
*
...
@@ -75,7 +75,7 @@ int input_AddInfo( input_info_category_t * p_category, char * psz_name,
...
@@ -75,7 +75,7 @@ int input_AddInfo( input_info_category_t * p_category, char * psz_name,
char
*
psz_format
,
...)
char
*
psz_format
,
...)
{
{
input_info_t
*
p_info
,
*
p_prev
;
input_info_t
*
p_info
,
*
p_prev
;
char
*
psz_str
;
char
*
psz_str
=
NULL
;
va_list
args
;
va_list
args
;
p_prev
=
NULL
;
p_prev
=
NULL
;
...
...
src/misc/messages.c
View file @
97bf3e7d
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
* modules, especially intf modules. See config.h for output configuration.
* modules, especially intf modules. See config.h for output configuration.
*****************************************************************************
*****************************************************************************
* Copyright (C) 1998-2002 VideoLAN
* Copyright (C) 1998-2002 VideoLAN
* $Id: messages.c,v 1.
4 2002/07/15 19:15:05
sam Exp $
* $Id: messages.c,v 1.
5 2002/07/23 00:30:22
sam Exp $
*
*
* Authors: Vincent Seguin <seguin@via.ecp.fr>
* Authors: Vincent Seguin <seguin@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
* Samuel Hocevar <sam@zoy.org>
...
@@ -237,7 +237,7 @@ DECLARE_MSG_FN( __msg_Dbg, VLC_MSG_DBG );
...
@@ -237,7 +237,7 @@ DECLARE_MSG_FN( __msg_Dbg, VLC_MSG_DBG );
static
void
QueueMsg
(
vlc_object_t
*
p_this
,
int
i_type
,
const
char
*
psz_module
,
static
void
QueueMsg
(
vlc_object_t
*
p_this
,
int
i_type
,
const
char
*
psz_module
,
const
char
*
psz_format
,
va_list
args
)
const
char
*
psz_format
,
va_list
args
)
{
{
char
*
psz_str
;
/* formatted message string */
char
*
psz_str
=
NULL
;
/* formatted message string */
msg_item_t
*
p_item
;
/* pointer to message */
msg_item_t
*
p_item
;
/* pointer to message */
msg_item_t
item
;
/* message in case of a full queue */
msg_item_t
item
;
/* message in case of a full queue */
#ifdef WIN32
#ifdef WIN32
...
...
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