Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
895d419f
Commit
895d419f
authored
Jun 11, 2015
by
François Cartegnie
🤞
Browse files
demux: mp4: validate smooth tracks only after init
parent
f3590c78
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/demux/mp4/mp4.c
View file @
895d419f
...
...
@@ -3454,7 +3454,7 @@ static int MP4_SmoothTrackCreate( demux_t *p_demux, mp4_track_t *p_track, MP4_Bo
if
(
!
p_data
)
return
VLC_EGENERIC
;
p_track
->
b_ok
=
tru
e
;
p_track
->
b_ok
=
fals
e
;
p_track
->
b_selected
=
false
;
p_track
->
i_sample_count
=
UINT32_MAX
;
...
...
@@ -3533,6 +3533,8 @@ static int MP4_SmoothTrackCreate( demux_t *p_demux, mp4_track_t *p_track, MP4_Bo
break
;
}
p_track
->
b_ok
=
true
;
return
VLC_SUCCESS
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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