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
1940820e
Commit
1940820e
authored
Jan 09, 2004
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* src/extras/libc.c: return result in vlc_asprintf().
parent
88066e9c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
src/extras/libc.c
src/extras/libc.c
+6
-2
No files found.
src/extras/libc.c
View file @
1940820e
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* libc.c: Extra libc function for some systems.
* libc.c: Extra libc function for some systems.
*****************************************************************************
*****************************************************************************
* Copyright (C) 2002 VideoLAN
* Copyright (C) 2002 VideoLAN
* $Id: libc.c,v 1.1
4 2004/01/09 18:32:04
gbazin Exp $
* $Id: libc.c,v 1.1
5 2004/01/09 19:21:58
gbazin Exp $
*
*
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
* Samuel Hocevar <sam@zoy.org>
* Samuel Hocevar <sam@zoy.org>
...
@@ -180,9 +180,13 @@ int vlc_vasprintf(char **strp, const char *fmt, va_list ap)
...
@@ -180,9 +180,13 @@ int vlc_vasprintf(char **strp, const char *fmt, va_list ap)
int
vlc_asprintf
(
char
**
strp
,
const
char
*
fmt
,
...
)
int
vlc_asprintf
(
char
**
strp
,
const
char
*
fmt
,
...
)
{
{
va_list
args
;
va_list
args
;
int
i_ret
;
va_start
(
args
,
fmt
);
va_start
(
args
,
fmt
);
vasprintf
(
strp
,
fmt
,
args
);
i_ret
=
vasprintf
(
strp
,
fmt
,
args
);
va_end
(
args
);
va_end
(
args
);
return
i_ret
;
}
}
#endif
#endif
...
...
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