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
6dff8ffd
Commit
6dff8ffd
authored
Apr 04, 2014
by
Francois Cartegnie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
demux: mkv: fix warning & int overflow
parent
5b24b0b6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
modules/demux/mkv/util.cpp
modules/demux/mkv/util.cpp
+4
-4
No files found.
modules/demux/mkv/util.cpp
View file @
6dff8ffd
...
...
@@ -188,12 +188,12 @@ void handle_real_audio(demux_t * p_demux, mkv_track_t * p_tk, block_t * p_blk, m
if
(
p_tk
->
fmt
.
i_codec
==
VLC_CODEC_COOK
||
p_tk
->
fmt
.
i_codec
==
VLC_CODEC_ATRAC3
)
{
const
uint
32
_t
i_num
=
p_sys
->
i_frame_size
/
p_sys
->
i_subpacket_size
;
const
in
t
y
=
p_sys
->
i_subpacket
/
(
p_sys
->
i_frame_size
/
p_sys
->
i_subpacket_size
);
const
uint
16
_t
i_num
=
p_sys
->
i_frame_size
/
p_sys
->
i_subpacket_size
;
const
size_
t
y
=
p_sys
->
i_subpacket
/
(
p_sys
->
i_frame_size
/
p_sys
->
i_subpacket_size
);
for
(
in
t
i
=
0
;
i
<
i_num
;
i
++
)
for
(
uint16_
t
i
=
0
;
i
<
i_num
;
i
++
)
{
int
i_index
=
p_sys
->
i_sub_packet_h
*
i
+
size_t
i_index
=
(
size_t
)
p_sys
->
i_sub_packet_h
*
i
+
((
p_sys
->
i_sub_packet_h
+
1
)
/
2
)
*
(
y
&
1
)
+
(
y
>>
1
);
if
(
i_index
>=
p_sys
->
i_subpackets
)
return
;
...
...
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