Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
ab85aafb
Commit
ab85aafb
authored
Jan 06, 2009
by
Laurent Aimar
Browse files
Added missing const to input_item_SetURI.
parent
ca15fe09
Changes
2
Hide whitespace changes
Inline
Side-by-side
include/vlc_input.h
View file @
ab85aafb
...
...
@@ -128,7 +128,7 @@ VLC_EXPORT( bool, input_item_MetaMatch, ( input_item_t *p_i, vlc_meta_type_t met
VLC_EXPORT
(
char
*
,
input_item_GetMeta
,
(
input_item_t
*
p_i
,
vlc_meta_type_t
meta_type
)
);
VLC_EXPORT
(
char
*
,
input_item_GetName
,
(
input_item_t
*
p_i
)
);
VLC_EXPORT
(
char
*
,
input_item_GetURI
,
(
input_item_t
*
p_i
)
);
VLC_EXPORT
(
void
,
input_item_SetURI
,
(
input_item_t
*
p_i
,
char
*
psz_uri
));
VLC_EXPORT
(
void
,
input_item_SetURI
,
(
input_item_t
*
p_i
,
const
char
*
psz_uri
));
VLC_EXPORT
(
mtime_t
,
input_item_GetDuration
,
(
input_item_t
*
p_i
)
);
VLC_EXPORT
(
void
,
input_item_SetDuration
,
(
input_item_t
*
p_i
,
mtime_t
i_duration
));
VLC_EXPORT
(
bool
,
input_item_IsPreparsed
,
(
input_item_t
*
p_i
));
...
...
src/input/item.c
View file @
ab85aafb
...
...
@@ -331,7 +331,7 @@ char *input_item_GetURI( input_item_t *p_i )
vlc_mutex_unlock
(
&
p_i
->
lock
);
return
psz_s
;
}
void
input_item_SetURI
(
input_item_t
*
p_i
,
char
*
psz_uri
)
void
input_item_SetURI
(
input_item_t
*
p_i
,
const
char
*
psz_uri
)
{
vlc_mutex_lock
(
&
p_i
->
lock
);
...
...
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