Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
9dff8ba6
Commit
9dff8ba6
authored
Mar 27, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cosmetics
parent
3dff081e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
src/input/info.h
src/input/info.h
+5
-6
No files found.
src/input/info.h
View file @
9dff8ba6
...
...
@@ -86,15 +86,14 @@ static inline info_t *info_category_VaAddInfo(info_category_t *cat,
const
char
*
name
,
const
char
*
format
,
va_list
args
)
{
info_t
*
info
=
info_category_FindInfo
(
cat
,
NULL
,
name
);
if
(
!
info
)
{
info
=
info_New
(
name
,
NULL
);
info_t
*
info
=
info_category_FindInfo
(
cat
,
NULL
,
name
);
if
(
!
info
)
{
info
=
info_New
(
name
,
NULL
);
if
(
!
info
)
return
NULL
;
INSERT_ELEM
(
cat
->
pp_infos
,
cat
->
i_infos
,
cat
->
i_infos
,
info
);
}
else
{
INSERT_ELEM
(
cat
->
pp_infos
,
cat
->
i_infos
,
cat
->
i_infos
,
info
);
}
else
free
(
info
->
psz_value
);
}
if
(
vasprintf
(
&
info
->
psz_value
,
format
,
args
)
==
-
1
)
info
->
psz_value
=
NULL
;
return
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