Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
VLC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
15
Merge Requests
15
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
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
Steve Lhomme
VLC
Commits
29cfd497
Commit
29cfd497
authored
May 19, 2017
by
François Cartegnie
🤞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
demux: mp4: fix fwd null (cid #1408972)
on failed alloc of 0 payload size
parent
44019727
Changes
1
Hide 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 @
29cfd497
...
...
@@ -4248,7 +4248,7 @@ static int FragDemuxTrack( demux_t *p_demux, mp4_track_t *p_track,
block_t
*
p_block
=
vlc_stream_Block
(
p_demux
->
s
,
len
);
uint32_t
i_read
=
(
p_block
)
?
p_block
->
i_buffer
:
0
;
p_track
->
context
.
i_trun_sample_pos
+=
i_read
;
if
(
i_read
<
len
)
if
(
i_read
<
len
||
p_block
==
NULL
)
{
free
(
p_block
);
return
VLC_DEMUXER_EOF
;
...
...
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