Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
2aead1e8
Commit
2aead1e8
authored
Nov 12, 2017
by
Thomas Guillem
Committed by
Rémi Denis-Courmont
Nov 12, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mkv: use vlc_alloc helper
parent
37f3f80b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
modules/demux/mkv/mkv.cpp
modules/demux/mkv/mkv.cpp
+1
-1
No files found.
modules/demux/mkv/mkv.cpp
View file @
2aead1e8
...
...
@@ -371,7 +371,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
int
*
pi_int
=
va_arg
(
args
,
int
*
);
*
pi_int
=
p_sys
->
titles
.
size
();
*
ppp_title
=
static_cast
<
input_title_t
**>
(
m
alloc
(
sizeof
(
input_title_t
*
)
*
p_sys
->
titles
.
size
()
)
);
*
ppp_title
=
static_cast
<
input_title_t
**>
(
vlc_
alloc
(
p_sys
->
titles
.
size
(),
sizeof
(
input_title_t
*
)
)
);
for
(
size_t
i
=
0
;
i
<
p_sys
->
titles
.
size
();
i
++
)
(
*
ppp_title
)[
i
]
=
vlc_input_title_Duplicate
(
p_sys
->
titles
[
i
]
);
...
...
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