Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
cc9a1ebe
Commit
cc9a1ebe
authored
Feb 07, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Backport [24944] (
CORE-2008
-0130)
parent
0dd0c251
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
modules/demux/mp4/mp4.c
modules/demux/mp4/mp4.c
+7
-1
No files found.
modules/demux/mp4/mp4.c
View file @
cc9a1ebe
...
@@ -468,7 +468,7 @@ static int Open( vlc_object_t * p_this )
...
@@ -468,7 +468,7 @@ static int Open( vlc_object_t * p_this )
msg_Err
(
p_demux
,
"cannot find any /moov/trak"
);
msg_Err
(
p_demux
,
"cannot find any /moov/trak"
);
goto
error
;
goto
error
;
}
}
msg_Dbg
(
p_demux
,
"f
i
nd %d track%c"
,
msg_Dbg
(
p_demux
,
"f
ou
nd %d track%c"
,
p_sys
->
i_tracks
,
p_sys
->
i_tracks
,
p_sys
->
i_tracks
?
's'
:
' '
);
p_sys
->
i_tracks
?
's'
:
' '
);
...
@@ -953,6 +953,12 @@ static int TrackCreateChunksIndex( demux_t *p_demux,
...
@@ -953,6 +953,12 @@ static int TrackCreateChunksIndex( demux_t *p_demux,
for
(
i_chunk
=
p_stsc
->
data
.
p_stsc
->
i_first_chunk
[
i_index
]
-
1
;
for
(
i_chunk
=
p_stsc
->
data
.
p_stsc
->
i_first_chunk
[
i_index
]
-
1
;
i_chunk
<
i_last
;
i_chunk
++
)
i_chunk
<
i_last
;
i_chunk
++
)
{
{
if
(
i_chunk
>=
p_demux_track
->
i_chunk_count
)
{
msg_Warn
(
p_demux
,
"corrupted chunk table"
);
return
VLC_EGENERIC
;
}
p_demux_track
->
chunk
[
i_chunk
].
i_sample_description_index
=
p_demux_track
->
chunk
[
i_chunk
].
i_sample_description_index
=
p_stsc
->
data
.
p_stsc
->
i_sample_description_index
[
i_index
];
p_stsc
->
data
.
p_stsc
->
i_sample_description_index
[
i_index
];
p_demux_track
->
chunk
[
i_chunk
].
i_sample_count
=
p_demux_track
->
chunk
[
i_chunk
].
i_sample_count
=
...
...
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