Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
0599d812
Commit
0599d812
authored
May 20, 2006
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add missing const qualifier
parent
a80e73e4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/demux/asf/libasf.c
modules/demux/asf/libasf.c
+2
-2
No files found.
modules/demux/asf/libasf.c
View file @
0599d812
...
@@ -675,7 +675,7 @@ static int ASF_ReadObject_content_description(stream_t *s, asf_object_t *p_obj)
...
@@ -675,7 +675,7 @@ static int ASF_ReadObject_content_description(stream_t *s, asf_object_t *p_obj)
uint8_t
*
p_peek
,
*
p_data
;
uint8_t
*
p_peek
,
*
p_data
;
int
i_peek
,
i_title
,
i_author
,
i_copyright
,
i_description
,
i_rating
;
int
i_peek
,
i_title
,
i_author
,
i_copyright
,
i_description
,
i_rating
;
vlc_iconv_t
cd
=
(
vlc_iconv_t
)
-
1
;
vlc_iconv_t
cd
=
(
vlc_iconv_t
)
-
1
;
char
*
ib
=
NULL
;
c
onst
c
har
*
ib
=
NULL
;
char
*
ob
=
NULL
;
char
*
ob
=
NULL
;
size_t
i_ibl
,
i_obl
,
i_len
;
size_t
i_ibl
,
i_obl
,
i_len
;
...
@@ -688,7 +688,7 @@ static int ASF_ReadObject_content_description(stream_t *s, asf_object_t *p_obj)
...
@@ -688,7 +688,7 @@ static int ASF_ReadObject_content_description(stream_t *s, asf_object_t *p_obj)
/* FIXME i_size*3 is the worst case. */
/* FIXME i_size*3 is the worst case. */
#define GETSTRINGW( psz_str, i_size ) \
#define GETSTRINGW( psz_str, i_size ) \
psz_str = (char *)calloc( i_size*3+1, sizeof( char ) ); \
psz_str = (char *)calloc( i_size*3+1, sizeof( char ) ); \
ib = (char *)p_data; \
ib = (c
onst c
har *)p_data; \
ob = psz_str; \
ob = psz_str; \
i_ibl = i_size; \
i_ibl = i_size; \
i_obl = i_size*3; \
i_obl = i_size*3; \
...
...
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