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
e50e29c7
Commit
e50e29c7
authored
Oct 26, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move vlc_iconv* to <vlc_charset.h>
parent
979ee1a3
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
12 additions
and
7 deletions
+12
-7
include/vlc_charset.h
include/vlc_charset.h
+6
-0
include/vlc_common.h
include/vlc_common.h
+0
-6
modules/access/mms/buffer.c
modules/access/mms/buffer.c
+1
-0
modules/misc/freetype.c
modules/misc/freetype.c
+2
-1
modules/misc/lua/libs/strings.c
modules/misc/lua/libs/strings.c
+1
-0
src/extras/libc.c
src/extras/libc.c
+1
-0
src/input/stream.h
src/input/stream.h
+1
-0
No files found.
include/vlc_charset.h
View file @
e50e29c7
...
@@ -30,6 +30,12 @@
...
@@ -30,6 +30,12 @@
* This files handles locale conversions in vlc
* This files handles locale conversions in vlc
*/
*/
/* iconv wrappers (defined in src/extras/libc.c) */
typedef
void
*
vlc_iconv_t
;
VLC_EXPORT
(
vlc_iconv_t
,
vlc_iconv_open
,
(
const
char
*
,
const
char
*
)
LIBVLC_USED
);
VLC_EXPORT
(
size_t
,
vlc_iconv
,
(
vlc_iconv_t
,
const
char
**
,
size_t
*
,
char
**
,
size_t
*
)
LIBVLC_USED
);
VLC_EXPORT
(
int
,
vlc_iconv_close
,
(
vlc_iconv_t
)
);
#include <stdarg.h>
#include <stdarg.h>
VLC_EXPORT
(
void
,
LocaleFree
,
(
const
char
*
)
);
VLC_EXPORT
(
void
,
LocaleFree
,
(
const
char
*
)
);
...
...
include/vlc_common.h
View file @
e50e29c7
...
@@ -839,12 +839,6 @@ VLC_EXPORT( bool, vlc_ureduce, ( unsigned *, unsigned *, uint64_t, uint64_t, uin
...
@@ -839,12 +839,6 @@ VLC_EXPORT( bool, vlc_ureduce, ( unsigned *, unsigned *, uint64_t, uint64_t, uin
VLC_EXPORT
(
void
*
,
vlc_memalign
,
(
void
**
base
,
size_t
alignment
,
size_t
size
)
LIBVLC_USED
);
VLC_EXPORT
(
void
*
,
vlc_memalign
,
(
void
**
base
,
size_t
alignment
,
size_t
size
)
LIBVLC_USED
);
/* iconv wrappers (defined in src/extras/libc.c) */
typedef
void
*
vlc_iconv_t
;
VLC_EXPORT
(
vlc_iconv_t
,
vlc_iconv_open
,
(
const
char
*
,
const
char
*
)
LIBVLC_USED
);
VLC_EXPORT
(
size_t
,
vlc_iconv
,
(
vlc_iconv_t
,
const
char
**
,
size_t
*
,
char
**
,
size_t
*
)
LIBVLC_USED
);
VLC_EXPORT
(
int
,
vlc_iconv_close
,
(
vlc_iconv_t
)
);
/* execve wrapper (defined in src/extras/libc.c) */
/* execve wrapper (defined in src/extras/libc.c) */
VLC_EXPORT
(
int
,
vlc_execve
,
(
vlc_object_t
*
p_object
,
int
i_argc
,
char
*
const
*
pp_argv
,
char
*
const
*
pp_env
,
const
char
*
psz_cwd
,
const
char
*
p_in
,
size_t
i_in
,
char
**
pp_data
,
size_t
*
pi_data
)
LIBVLC_USED
);
VLC_EXPORT
(
int
,
vlc_execve
,
(
vlc_object_t
*
p_object
,
int
i_argc
,
char
*
const
*
pp_argv
,
char
*
const
*
pp_env
,
const
char
*
psz_cwd
,
const
char
*
p_in
,
size_t
i_in
,
char
**
pp_data
,
size_t
*
pi_data
)
LIBVLC_USED
);
#define vlc_execve(a,b,c,d,e,f,g,h,i) vlc_execve(VLC_OBJECT(a),b,c,d,e,f,g,h,i)
#define vlc_execve(a,b,c,d,e,f,g,h,i) vlc_execve(VLC_OBJECT(a),b,c,d,e,f,g,h,i)
...
...
modules/access/mms/buffer.c
View file @
e50e29c7
...
@@ -30,6 +30,7 @@
...
@@ -30,6 +30,7 @@
#endif
#endif
#include <vlc_common.h>
#include <vlc_common.h>
#include <vlc_charset.h>
#include "asf.h"
#include "asf.h"
#include "buffer.h"
#include "buffer.h"
...
...
modules/misc/freetype.c
View file @
e50e29c7
...
@@ -40,6 +40,7 @@
...
@@ -40,6 +40,7 @@
#include <vlc_strings.h>
#include <vlc_strings.h>
#include <vlc_dialog.h>
#include <vlc_dialog.h>
#include <vlc_memory.h>
#include <vlc_memory.h>
#include <vlc_charset.h>
#include <math.h>
#include <math.h>
...
@@ -1110,7 +1111,7 @@ static int RenderText( filter_t *p_filter, subpicture_region_t *p_region_out,
...
@@ -1110,7 +1111,7 @@ static int RenderText( filter_t *p_filter, subpicture_region_t *p_region_out,
if
(
i_in_bytes
)
if
(
i_in_bytes
)
{
{
msg_Warn
(
p_filter
,
"failed to convert string to unicode (%m), "
msg_Warn
(
p_filter
,
"failed to convert string to unicode (%m), "
"bytes left %
u"
,
(
unsigned
)
i_in_bytes
);
"bytes left %
zu"
,
i_in_bytes
);
goto
error
;
goto
error
;
}
}
*
(
uint32_t
*
)
p_out_buffer
=
0
;
*
(
uint32_t
*
)
p_out_buffer
=
0
;
...
...
modules/misc/lua/libs/strings.c
View file @
e50e29c7
...
@@ -37,6 +37,7 @@
...
@@ -37,6 +37,7 @@
#include <vlc_plugin.h>
#include <vlc_plugin.h>
#include <vlc_meta.h>
#include <vlc_meta.h>
#include <vlc_aout.h>
#include <vlc_aout.h>
#include <vlc_charset.h>
#include <lua.h>
/* Low level lua C API */
#include <lua.h>
/* Low level lua C API */
#include <lauxlib.h>
/* Higher level C API */
#include <lauxlib.h>
/* Higher level C API */
...
...
src/extras/libc.c
View file @
e50e29c7
...
@@ -30,6 +30,7 @@
...
@@ -30,6 +30,7 @@
#endif
#endif
#include <vlc_common.h>
#include <vlc_common.h>
#include <vlc_charset.h>
#include <errno.h>
#include <errno.h>
...
...
src/input/stream.h
View file @
e50e29c7
...
@@ -31,6 +31,7 @@
...
@@ -31,6 +31,7 @@
#include <vlc_common.h>
#include <vlc_common.h>
#include <vlc_stream.h>
#include <vlc_stream.h>
#include <vlc_charset.h>
struct
stream_text_t
struct
stream_text_t
{
{
...
...
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