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
720b483b
Commit
720b483b
authored
Jul 22, 2002
by
Sigmund Augdal Helberg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
win32 compilation fixes
parent
effab3c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
19 deletions
+2
-19
src/input/input_info.c
src/input/input_info.c
+2
-19
No files found.
src/input/input_info.c
View file @
720b483b
...
...
@@ -2,7 +2,7 @@
* input_info.c: Convenient functions to handle the input info structures
*****************************************************************************
* Copyright (C) 1998-2001 VideoLAN
* $Id: input_info.c,v 1.
1 2002/07/21 18:57:02
sigmunau Exp $
* $Id: input_info.c,v 1.
2 2002/07/22 21:14:30
sigmunau Exp $
*
* Authors: Sigmund Augdal <sigmunau@idi.ntnu.no>
*
...
...
@@ -93,31 +93,14 @@ int input_AddInfo( input_info_category_t * p_category, char * psz_name,
vasprintf
(
&
psz_str
,
psz_format
,
args
);
#else
psz_str
=
(
char
*
)
malloc
(
strlen
(
psz_format
)
+
INTF_MAX_MSG_SIZE
);
#endif
if
(
psz_str
==
NULL
)
{
// fprintf( stderr, "main warning: can't store message (%s): ",
// strerror(errno) );
// vfprintf( stderr, psz_format, args );
// fprintf( stderr, "\n" );
return
-
1
;
}
#ifndef HAVE_VASPRINTF
# ifdef WIN32
psz_temp
=
ConvertPrintfFormatString
(
psz_format
);
if
(
!
psz_temp
)
{
//fprintf( stderr, "main warning: couldn't print message\n" );
return
-
1
;
}
vsprintf
(
psz_str
,
psz_temp
,
args
);
free
(
psz_temp
);
# else
vsprintf
(
psz_str
,
psz_format
,
args
);
# endif
#endif
va_end
(
args
);
p_info
=
p_category
->
p_info
;
while
(
p_info
)
...
...
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