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
b5bffbb2
Commit
b5bffbb2
authored
Nov 26, 2013
by
Francois Cartegnie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
demux: asf: fix wrong allocation size
damn ! cid 1132614/1132615
parent
3896a14b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/demux/asf/asf.c
modules/demux/asf/asf.c
+2
-2
No files found.
modules/demux/asf/asf.c
View file @
b5bffbb2
...
...
@@ -781,7 +781,7 @@ static void ASF_fillup_es_priorities_ex( demux_sys_t *p_sys, void *p_hdr,
ASF_FindObject
(
p_hdr
,
&
asf_object_advanced_mutual_exclusion
,
0
);
if
(
!
p_mutex
)
return
;
p_prios
->
pi_stream_numbers
=
malloc
(
p_sys
->
i_track
*
sizeof
(
asf_es_priorities
_t
)
);
p_prios
->
pi_stream_numbers
=
malloc
(
p_sys
->
i_track
*
sizeof
(
int16
_t
)
);
if
(
!
p_prios
->
pi_stream_numbers
)
return
;
if
(
p_mutex
->
i_stream_number_count
)
...
...
@@ -805,7 +805,7 @@ static void ASF_fillup_es_bitrate_priorities_ex( demux_sys_t *p_sys, void *p_hdr
ASF_FindObject
(
p_hdr
,
&
asf_object_bitrate_mutual_exclusion_guid
,
0
);
if
(
!
p_bitrate_mutex
)
return
;
p_prios
->
pi_stream_numbers
=
malloc
(
p_sys
->
i_track
*
sizeof
(
asf_es_priorities
_t
)
);
p_prios
->
pi_stream_numbers
=
malloc
(
p_sys
->
i_track
*
sizeof
(
int16
_t
)
);
if
(
!
p_prios
->
pi_stream_numbers
)
return
;
if
(
p_bitrate_mutex
->
i_stream_number_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