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
f9c5295c
Commit
f9c5295c
authored
Apr 19, 2014
by
Francois Cartegnie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
demux: mp4: rename GetTrack->GetTrackByID
parent
a4c61f60
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 @
f9c5295c
...
...
@@ -3521,7 +3521,7 @@ static int MP4_frg_TrackCreate( demux_t *p_demux, mp4_track_t *p_track, MP4_Box_
/**
* Return the track identified by tid
*/
static
mp4_track_t
*
MP4_frg_GetTrack
(
demux_t
*
p_demux
,
const
uint32_t
tid
)
static
mp4_track_t
*
MP4_frg_GetTrack
ByID
(
demux_t
*
p_demux
,
const
uint32_t
tid
)
{
demux_sys_t
*
p_sys
=
p_demux
->
p_sys
;
...
...
@@ -3664,7 +3664,7 @@ static int MP4_frg_GetChunk( demux_t *p_demux, MP4_Box_t *p_chunk, unsigned *i_t
assert
(
i_track_ID
>
0
);
msg_Dbg
(
p_demux
,
"GetChunk: track ID is %"
PRIu32
""
,
i_track_ID
);
mp4_track_t
*
p_track
=
MP4_frg_GetTrack
(
p_demux
,
i_track_ID
);
mp4_track_t
*
p_track
=
MP4_frg_GetTrack
ByID
(
p_demux
,
i_track_ID
);
if
(
!
p_track
)
return
VLC_EGENERIC
;
...
...
@@ -3880,7 +3880,7 @@ static int MP4_frg_GetChunks( demux_t *p_demux, const unsigned i_tk_id )
tid
=
p_stra
->
data
.
p_stra
->
i_track_ID
;
}
p_track
=
MP4_frg_GetTrack
(
p_demux
,
tid
);
p_track
=
MP4_frg_GetTrack
ByID
(
p_demux
,
tid
);
if
(
!
p_track
)
goto
MP4_frg_GetChunks_Error
;
p_track
->
b_codec_need_restart
=
true
;
...
...
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