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
803983ec
Commit
803983ec
authored
Dec 14, 2013
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
access_dvd: fix sizeof mismatch
parent
a743b5e8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
modules/access/dvdnav.c
modules/access/dvdnav.c
+1
-1
modules/access/dvdread.c
modules/access/dvdread.c
+1
-1
No files found.
modules/access/dvdnav.c
View file @
803983ec
...
...
@@ -499,7 +499,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
*
va_arg
(
args
,
int
*
)
=
1
;
/* Chapter offset */
/* Duplicate title infos */
*
ppp_title
=
malloc
(
sizeof
(
input_title_t
**
)
*
p_sys
->
i_title
);
*
ppp_title
=
malloc
(
p_sys
->
i_title
*
sizeof
(
input_title_t
*
)
);
for
(
i
=
0
;
i
<
p_sys
->
i_title
;
i
++
)
{
(
*
ppp_title
)[
i
]
=
vlc_input_title_Duplicate
(
p_sys
->
title
[
i
]
);
...
...
modules/access/dvdread.c
View file @
803983ec
...
...
@@ -394,7 +394,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
/* Duplicate title infos */
*
pi_int
=
p_sys
->
i_titles
;
*
ppp_title
=
malloc
(
sizeof
(
input_title_t
**
)
*
p_sys
->
i_titles
);
*
ppp_title
=
malloc
(
p_sys
->
i_titles
*
sizeof
(
input_title_t
*
)
);
for
(
i
=
0
;
i
<
p_sys
->
i_titles
;
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