Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
7c612360
Commit
7c612360
authored
Nov 18, 2004
by
zorglub
Browse files
Compile fix for C++ files
parent
4db1802c
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/vlc_input.h
View file @
7c612360
...
...
@@ -95,9 +95,11 @@ static inline void vlc_input_item_CopyOptions( input_item_t *p_parent,
for
(
i
=
0
;
i
<
p_parent
->
i_options
;
i
++
)
{
char
*
psz_option
=
strdup
(
p_parent
->
ppsz_options
[
i
]
);
INSERT_ELEM
(
p_child
->
ppsz_options
,
p_child
->
i_options
,
p_child
->
i_options
,
psz_option
);
p_child
->
i_options
++
;
p_child
->
ppsz_options
=
(
char
**
)
realloc
(
p_child
->
ppsz_options
,
p_child
->
i_options
*
sizeof
(
char
*
)
);
p_child
->
ppsz_options
[
p_child
->
i_options
-
1
]
=
psz_option
;
}
}
...
...
Write
Preview
Supports
Markdown
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