Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
d73832f9
Commit
d73832f9
authored
Jul 12, 2005
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Eliminate dead code
parent
e6a2e27b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
src/misc/charset.c
src/misc/charset.c
+4
-2
src/misc/image.c
src/misc/image.c
+3
-1
No files found.
src/misc/charset.c
View file @
d73832f9
...
@@ -59,7 +59,7 @@ typedef struct VLCCharsetAlias
...
@@ -59,7 +59,7 @@ typedef struct VLCCharsetAlias
* a lot of basic aliases (check it first by iconv -l).
* a lot of basic aliases (check it first by iconv -l).
*
*
*/
*/
#if defined WIN32 || defined OS2 || !HAVE_LANGINFO_CODESET
static
const
char
*
vlc_encoding_from_language
(
const
char
*
l
)
static
const
char
*
vlc_encoding_from_language
(
const
char
*
l
)
{
{
/* check for language (and perhaps country) codes */
/* check for language (and perhaps country) codes */
...
@@ -91,7 +91,7 @@ static const char* vlc_encoding_from_language( const char *l )
...
@@ -91,7 +91,7 @@ static const char* vlc_encoding_from_language( const char *l )
/* We don't know. This ain't working go to default. */
/* We don't know. This ain't working go to default. */
return
"ISO-8859-1"
;
return
"ISO-8859-1"
;
}
}
#endif
static
const
char
*
vlc_charset_aliases
(
const
char
*
psz_name
)
static
const
char
*
vlc_charset_aliases
(
const
char
*
psz_name
)
{
{
...
@@ -197,6 +197,7 @@ static const char* vlc_charset_aliases( const char *psz_name )
...
@@ -197,6 +197,7 @@ static const char* vlc_charset_aliases( const char *psz_name )
}
}
/* Returns charset from "language_COUNTRY.charset@modifier" string */
/* Returns charset from "language_COUNTRY.charset@modifier" string */
#if defined WIN32 || defined OS2 || !HAVE_LANGINFO_CODESET
static
char
*
vlc_encoding_from_locale
(
char
*
psz_locale
)
static
char
*
vlc_encoding_from_locale
(
char
*
psz_locale
)
{
{
char
*
psz_dot
=
strchr
(
psz_locale
,
'.'
);
char
*
psz_dot
=
strchr
(
psz_locale
,
'.'
);
...
@@ -224,6 +225,7 @@ static char *vlc_encoding_from_locale( char *psz_locale )
...
@@ -224,6 +225,7 @@ static char *vlc_encoding_from_locale( char *psz_locale )
/* try language mapping */
/* try language mapping */
return
(
char
*
)
vlc_encoding_from_language
(
psz_locale
);
return
(
char
*
)
vlc_encoding_from_language
(
psz_locale
);
}
}
#endif
vlc_bool_t
vlc_current_charset
(
char
**
psz_charset
)
vlc_bool_t
vlc_current_charset
(
char
**
psz_charset
)
{
{
...
...
src/misc/image.c
View file @
d73832f9
...
@@ -57,7 +57,7 @@ static filter_t *CreateFilter( vlc_object_t *, es_format_t *,
...
@@ -57,7 +57,7 @@ static filter_t *CreateFilter( vlc_object_t *, es_format_t *,
static
void
DeleteFilter
(
filter_t
*
);
static
void
DeleteFilter
(
filter_t
*
);
static
vlc_fourcc_t
Ext2Fourcc
(
const
char
*
);
static
vlc_fourcc_t
Ext2Fourcc
(
const
char
*
);
static
const
char
*
Fourcc2Ext
(
vlc_fourcc_t
);
/*static const char *Fourcc2Ext( vlc_fourcc_t );*/
/**
/**
* Create an image_handler_t instance
* Create an image_handler_t instance
...
@@ -471,6 +471,7 @@ static vlc_fourcc_t Ext2Fourcc( const char *psz_name )
...
@@ -471,6 +471,7 @@ static vlc_fourcc_t Ext2Fourcc( const char *psz_name )
return
0
;
return
0
;
}
}
/*
static const char *Fourcc2Ext( vlc_fourcc_t i_codec )
static const char *Fourcc2Ext( vlc_fourcc_t i_codec )
{
{
int i;
int i;
...
@@ -482,6 +483,7 @@ static const char *Fourcc2Ext( vlc_fourcc_t i_codec )
...
@@ -482,6 +483,7 @@ static const char *Fourcc2Ext( vlc_fourcc_t i_codec )
return NULL;
return NULL;
}
}
*/
static
void
video_release_buffer
(
picture_t
*
p_pic
)
static
void
video_release_buffer
(
picture_t
*
p_pic
)
{
{
...
...
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