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
Steve Lhomme
VLC
Commits
105797f1
Commit
105797f1
authored
May 27, 2014
by
François Cartegnie
🤞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
demux: mp4: avoid overflow
parent
12bc8295
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
modules/demux/mp4/mp4.c
modules/demux/mp4/mp4.c
+3
-3
No files found.
modules/demux/mp4/mp4.c
View file @
105797f1
...
...
@@ -1919,9 +1919,9 @@ static void TrackGetESSampleRate( demux_t *p_demux,
if
(
p_mdhd
)
{
vlc_ureduce
(
pi_num
,
pi_den
,
BOXDATA
(
p_mdhd
)
->
i_timescale
*
p_track
->
i_sample_count
,
BOXDATA
(
p_mdhd
)
->
i_duration
,
UINT16_MAX
);
(
uint64_t
)
BOXDATA
(
p_mdhd
)
->
i_timescale
*
p_track
->
i_sample_count
,
(
uint64_t
)
BOXDATA
(
p_mdhd
)
->
i_duration
,
UINT16_MAX
);
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