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
1e4db902
Commit
1e4db902
authored
Dec 14, 2006
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Fix a couple of const, static and other warnings
parent
d9d80e10
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
14 additions
and
14 deletions
+14
-14
src/audio_output/input.c
src/audio_output/input.c
+2
-2
src/misc/image.c
src/misc/image.c
+2
-2
src/misc/threads.c
src/misc/threads.c
+2
-2
src/stream_output/profiles.c
src/stream_output/profiles.c
+2
-1
src/stream_output/stream_output.c
src/stream_output/stream_output.c
+5
-5
src/text/charset.c
src/text/charset.c
+1
-2
No files found.
src/audio_output/input.c
View file @
1e4db902
...
...
@@ -650,8 +650,8 @@ static void inputFailure( aout_instance_t * p_aout, aout_input_t * p_input,
p_input
->
b_error
=
1
;
}
static
int
ChangeFiltersString
(
aout_instance_t
*
p_aout
,
char
*
psz_variable
,
char
*
psz_name
,
vlc_bool_t
b_add
)
static
int
ChangeFiltersString
(
aout_instance_t
*
p_aout
,
c
onst
c
har
*
psz_variable
,
c
onst
c
har
*
psz_name
,
vlc_bool_t
b_add
)
{
vlc_value_t
val
;
char
*
psz_parser
;
...
...
src/misc/image.c
View file @
1e4db902
...
...
@@ -242,7 +242,7 @@ static picture_t *ImageReadUrl( image_handler_t *p_image, const char *psz_url,
*
*/
void
PicRelease
(
picture_t
*
p_pic
){};
static
void
PicRelease
(
picture_t
*
p_pic
){};
static
block_t
*
ImageWrite
(
image_handler_t
*
p_image
,
picture_t
*
p_pic
,
video_format_t
*
p_fmt_in
,
...
...
@@ -500,7 +500,7 @@ static picture_t *ImageFilter( image_handler_t *p_image, picture_t *p_pic,
static
struct
{
vlc_fourcc_t
i_codec
;
char
*
psz_ext
;
c
onst
c
har
*
psz_ext
;
}
ext_table
[]
=
{
...
...
src/misc/threads.c
View file @
1e4db902
...
...
@@ -332,7 +332,7 @@ int __vlc_mutex_destroy( const char * psz_file, int i_line, vlc_mutex_t *p_mutex
i_result
=
pthread_mutex_destroy
(
&
p_mutex
->
mutex
);
if
(
i_result
)
{
i_thread
=
(
int
)
pthread_self
(
);
i_thread
=
CAST_PTHREAD_TO_INT
(
pthread_self
()
);
psz_error
=
strerror
(
i_result
);
}
...
...
@@ -482,7 +482,7 @@ int __vlc_cond_destroy( const char * psz_file, int i_line, vlc_cond_t *p_condvar
i_result
=
pthread_cond_destroy
(
&
p_condvar
->
cond
);
if
(
i_result
)
{
i_thread
=
(
int
)
pthread_self
(
);
i_thread
=
CAST_PTHREAD_TO_INT
(
pthread_self
()
);
psz_error
=
strerror
(
i_result
);
}
...
...
src/stream_output/profiles.c
View file @
1e4db902
...
...
@@ -441,7 +441,8 @@ static char * ChainToPsz( sout_chain_t *p_chain, vlc_bool_t b_root )
char
psz_output
[
MAX_CHAIN
];
char
psz_temp
[
MAX_CHAIN
];
if
(
b_root
)
sprintf
(
psz_output
,
"#"
);
else
sprintf
(
psz_output
,
""
);
else
psz_output
[
0
]
=
'\0'
;
for
(
i
=
0
;
i
<
p_chain
->
i_modules
;
i
++
)
{
sout_module_t
*
p_module
=
p_chain
->
pp_modules
[
i
];
...
...
src/stream_output/stream_output.c
View file @
1e4db902
...
...
@@ -62,7 +62,7 @@ typedef struct
}
mrl_t
;
/* mrl_Parse: parse psz_mrl and fill p_mrl */
static
int
mrl_Parse
(
mrl_t
*
p_mrl
,
char
*
psz_mrl
);
static
int
mrl_Parse
(
mrl_t
*
p_mrl
,
c
onst
c
har
*
psz_mrl
);
/* mrl_Clean: clean p_mrl after a call to mrl_Parse */
static
void
mrl_Clean
(
mrl_t
*
p_mrl
);
...
...
@@ -605,13 +605,13 @@ void sout_MuxSendBuffer( sout_mux_t *p_mux, sout_input_t *p_input,
/*****************************************************************************
*
*****************************************************************************/
static
int
mrl_Parse
(
mrl_t
*
p_mrl
,
char
*
psz_mrl
)
static
int
mrl_Parse
(
mrl_t
*
p_mrl
,
c
onst
c
har
*
psz_mrl
)
{
char
*
psz_dup
=
strdup
(
psz_mrl
);
char
*
psz_parser
=
psz_dup
;
char
*
psz_access
=
""
;
char
*
psz_way
=
""
;
char
*
psz_name
=
""
;
char
*
psz_access
;
char
*
psz_way
;
char
*
psz_name
;
/* *** first parse psz_dest */
while
(
*
psz_parser
&&
*
psz_parser
!=
':'
)
...
...
src/text/charset.c
View file @
1e4db902
...
...
@@ -365,9 +365,8 @@ char *vlc_fix_readdir( const char *psz_string )
*
psz_out
=
'\0'
;
return
psz_utf8
;
}
#else
return
strdup
(
psz_string
);
#endif
return
strdup
(
psz_string
);
}
...
...
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