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
8f1b2445
Commit
8f1b2445
authored
Oct 21, 2006
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a bunch of warning.
parent
0a525c7c
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
19 additions
and
18 deletions
+19
-18
include/iso_lang.h
include/iso_lang.h
+5
-5
include/vlc_input.h
include/vlc_input.h
+1
-1
src/input/es_out.c
src/input/es_out.c
+3
-3
src/misc/iso-639_def.h
src/misc/iso-639_def.h
+3
-3
src/misc/messages.c
src/misc/messages.c
+1
-1
src/misc/vlm.c
src/misc/vlm.c
+6
-5
No files found.
include/iso_lang.h
View file @
8f1b2445
...
...
@@ -24,11 +24,11 @@
struct
iso639_lang_t
{
char
*
psz_eng_name
;
/* Description in English */
char
*
psz_native_name
;
/* Description in native language */
char
*
psz_iso639_1
;
/* ISO-639-1 (2 characters) code */
char
*
psz_iso639_2T
;
/* ISO-639-2/T (3 characters) English code */
char
*
psz_iso639_2B
;
/* ISO-639-2/B (3 characters) native code */
c
onst
c
har
*
psz_eng_name
;
/* Description in English */
c
onst
c
har
*
psz_native_name
;
/* Description in native language */
c
onst
c
har
*
psz_iso639_1
;
/* ISO-639-1 (2 characters) code */
c
onst
c
har
*
psz_iso639_2T
;
/* ISO-639-2/T (3 characters) English code */
c
onst
c
har
*
psz_iso639_2B
;
/* ISO-639-2/B (3 characters) native code */
};
#if defined( __cplusplus )
...
...
include/vlc_input.h
View file @
8f1b2445
...
...
@@ -248,7 +248,7 @@ typedef struct
}
input_title_t
;
static
inline
input_title_t
*
vlc_input_title_New
(
)
static
inline
input_title_t
*
vlc_input_title_New
(
void
)
{
input_title_t
*
t
=
(
input_title_t
*
)
malloc
(
sizeof
(
input_title_t
)
);
...
...
src/input/es_out.c
View file @
8f1b2445
...
...
@@ -334,7 +334,7 @@ static void EsOutESVarUpdate( es_out_t *out, es_out_id_t *es,
input_thread_t
*
p_input
=
p_sys
->
p_input
;
vlc_value_t
val
,
text
;
char
*
psz_var
;
c
onst
c
har
*
psz_var
;
if
(
es
->
fmt
.
i_cat
==
AUDIO_ES
)
psz_var
=
"audio-es"
;
...
...
@@ -740,7 +740,7 @@ static void EsSelect( es_out_t *out, es_out_id_t *es )
es_out_sys_t
*
p_sys
=
out
->
p_sys
;
input_thread_t
*
p_input
=
p_sys
->
p_input
;
vlc_value_t
val
;
c
har
*
psz_var
;
c
onst
char
*
psz_var
;
if
(
es
->
p_dec
)
{
...
...
@@ -808,7 +808,7 @@ static void EsUnselect( es_out_t *out, es_out_id_t *es, vlc_bool_t b_update )
es_out_sys_t
*
p_sys
=
out
->
p_sys
;
input_thread_t
*
p_input
=
p_sys
->
p_input
;
vlc_value_t
val
;
c
har
*
psz_var
;
c
onst
char
*
psz_var
;
if
(
es
->
p_dec
==
NULL
)
{
...
...
src/misc/iso-639_def.h
View file @
8f1b2445
...
...
@@ -6,7 +6,7 @@
*
* This is used in iso_lang.cpp and is taken from the GNU glibc 2.2.5
* tarball. It has been partially completed with native language names.
* Authors: St
�
hane Borel <stef@via.ecp.fr>
* Authors: St
ép
hane Borel <stef@via.ecp.fr>
* Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr>
*
* This program is free software; you can redistribute it and/or modify
...
...
@@ -29,9 +29,9 @@
* If you find something missing or wrong contact <bug-glibc@gnu.org> */
/* Some spellings were converted to pure ASCII:
* Proven
�
l -> Provencal
* Proven
ça
l -> Provencal
* Volapk -> Volapuk
* Bokm
�
-> Bokmaal */
* Bokm
?
-> Bokmaal */
static
const
iso639_lang_t
p_languages
[]
=
{
...
...
src/misc/messages.c
View file @
8f1b2445
...
...
@@ -481,7 +481,7 @@ static void PrintMsg ( vlc_object_t * p_this, msg_item_t * p_item )
#endif
static
const
char
*
ppsz_type
[
4
]
=
{
""
,
" error"
,
" warning"
,
" debug"
};
static
const
char
*
ppsz_color
[
4
]
=
{
WHITE
,
RED
,
YELLOW
,
GRAY
};
char
*
psz_object
=
"private"
;
c
onst
c
har
*
psz_object
=
"private"
;
int
i_type
=
p_item
->
i_type
;
switch
(
i_type
)
...
...
src/misc/vlm.c
View file @
8f1b2445
...
...
@@ -49,12 +49,12 @@
/*****************************************************************************
* Local prototypes.
*****************************************************************************/
static
vlm_message_t
*
vlm_Show
(
vlm_t
*
,
vlm_media_t
*
,
vlm_schedule_t
*
,
char
*
);
static
vlm_message_t
*
vlm_Show
(
vlm_t
*
,
vlm_media_t
*
,
vlm_schedule_t
*
,
c
onst
c
har
*
);
static
vlm_message_t
*
vlm_Help
(
vlm_t
*
,
char
*
);
static
vlm_media_instance_t
*
vlm_MediaInstanceSearch
(
vlm_t
*
,
vlm_media_t
*
,
const
char
*
);
static
vlm_message_t
*
vlm_MessageNew
(
char
*
,
const
char
*
,
...
);
static
vlm_message_t
*
vlm_MessageNew
(
c
onst
c
har
*
,
const
char
*
,
...
);
static
vlm_message_t
*
vlm_MessageAdd
(
vlm_message_t
*
,
vlm_message_t
*
);
static
vlm_schedule_t
*
vlm_ScheduleSearch
(
vlm_t
*
,
const
char
*
);
...
...
@@ -1347,7 +1347,7 @@ int vlm_MediaControl( vlm_t *vlm, vlm_media_t *media, const char *psz_id,
/*****************************************************************************
* Schedule handling
*****************************************************************************/
static
int64_t
vlm_Date
()
static
int64_t
vlm_Date
(
void
)
{
#ifdef WIN32
struct
timeb
tm
;
...
...
@@ -1610,7 +1610,7 @@ int vlm_ScheduleSetup( vlm_schedule_t *schedule, const char *psz_cmd,
/*****************************************************************************
* Message handling functions
*****************************************************************************/
static
vlm_message_t
*
vlm_MessageNew
(
char
*
psz_name
,
static
vlm_message_t
*
vlm_MessageNew
(
c
onst
c
har
*
psz_name
,
const
char
*
psz_format
,
...
)
{
vlm_message_t
*
p_message
;
...
...
@@ -1673,7 +1673,8 @@ static vlm_message_t *vlm_MessageAdd( vlm_message_t *p_message,
* Misc utility functions
*****************************************************************************/
static
vlm_message_t
*
vlm_Show
(
vlm_t
*
vlm
,
vlm_media_t
*
media
,
vlm_schedule_t
*
schedule
,
char
*
psz_filter
)
vlm_schedule_t
*
schedule
,
const
char
*
psz_filter
)
{
if
(
media
!=
NULL
)
{
...
...
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