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
428ede60
Commit
428ede60
authored
Apr 17, 2014
by
Francois Cartegnie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
demux: mp4: trex duration is already scaled
read spec and throw dice
parent
a05e4de0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
modules/demux/mp4/mp4.c
modules/demux/mp4/mp4.c
+1
-1
No files found.
modules/demux/mp4/mp4.c
View file @
428ede60
...
@@ -3727,7 +3727,7 @@ static int MP4_frg_GetChunk( demux_t *p_demux, MP4_Box_t *p_chunk, unsigned *i_t
...
@@ -3727,7 +3727,7 @@ static int MP4_frg_GetChunk( demux_t *p_demux, MP4_Box_t *p_chunk, unsigned *i_t
while
(
p_trex
&&
p_trex
->
data
.
p_trex
->
i_track_ID
!=
i_track_ID
)
while
(
p_trex
&&
p_trex
->
data
.
p_trex
->
i_track_ID
!=
i_track_ID
)
p_trex
=
p_trex
->
p_next
;
p_trex
=
p_trex
->
p_next
;
if
(
p_trex
)
if
(
p_trex
)
default_duration
=
p_trex
->
data
.
p_trex
->
i_default_sample_duration
*
p_track
->
i_timescale
;
default_duration
=
p_trex
->
data
.
p_trex
->
i_default_sample_duration
;
}
}
else
if
(
p_sidx
)
else
if
(
p_sidx
)
{
{
...
...
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