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
092aa902
Commit
092aa902
authored
Dec 07, 2013
by
Francois Cartegnie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
demux: asf: fix signedness on stream mutex properties
parent
abb20fc3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
modules/demux/asf/libasf.c
modules/demux/asf/libasf.c
+2
-2
modules/demux/asf/libasf.h
modules/demux/asf/libasf.h
+2
-2
No files found.
modules/demux/asf/libasf.c
View file @
092aa902
...
...
@@ -1001,7 +1001,7 @@ static int ASF_ReadObject_advanced_mutual_exclusion( stream_t *s,
asf_object_advanced_mutual_exclusion_t
*
p_ae
=
&
p_obj
->
advanced_mutual_exclusion
;
const
uint8_t
*
p_peek
,
*
p_data
;
int
i_peek
;
in
t
i
;
uint16_
t
i
;
if
(
(
i_peek
=
stream_Peek
(
s
,
&
p_peek
,
p_ae
->
i_object_size
)
)
<
42
)
return
VLC_EGENERIC
;
...
...
@@ -1018,7 +1018,7 @@ static int ASF_ReadObject_advanced_mutual_exclusion( stream_t *s,
ASF_SKIP
(
16
);
p_ae
->
i_stream_number_count
=
ASF_READ2
();
p_ae
->
pi_stream_number
=
calloc
(
p_ae
->
i_stream_number_count
,
sizeof
(
in
t
)
);
p_ae
->
pi_stream_number
=
calloc
(
p_ae
->
i_stream_number_count
,
sizeof
(
uint16_
t
)
);
for
(
i
=
0
;
i
<
p_ae
->
i_stream_number_count
;
i
++
)
{
...
...
modules/demux/asf/libasf.h
View file @
092aa902
...
...
@@ -302,8 +302,8 @@ typedef struct
ASF_OBJECT_COMMON
asf_exclusion_type_t
exclusion_type
;
int16_t
i_stream_number_count
;
int16_t
*
pi_stream_number
;
u
int16_t
i_stream_number_count
;
u
int16_t
*
pi_stream_number
;
}
asf_object_advanced_mutual_exclusion_t
;
...
...
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