Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
750ec8a0
Commit
750ec8a0
authored
Nov 19, 2006
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* subtitle.c: const warning fixes
parent
e55c4747
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
modules/demux/subtitle.c
modules/demux/subtitle.c
+5
-5
No files found.
modules/demux/subtitle.c
View file @
750ec8a0
...
...
@@ -56,7 +56,7 @@ static void Close( vlc_object_t *p_this );
"\"subrip\", \"ssa1\", \"ssa2-4\", \"ass\", \"vplayer\" " \
"\"sami\", \"dvdsubtitle\" and \"auto\" (meaning autodetection, this " \
"should always work).")
static
char
*
ppsz_sub_type
[]
=
static
c
onst
c
har
*
ppsz_sub_type
[]
=
{
"auto"
,
"microdvd"
,
"subrip"
,
"subviewer"
,
"ssa1"
,
"ssa2-4"
,
"ass"
,
"vplayer"
,
"sami"
,
"dvdsubtitle"
...
...
@@ -76,7 +76,7 @@ vlc_module_begin();
SUB_DELAY_LONGTEXT
,
VLC_TRUE
);
add_string
(
"sub-type"
,
"auto"
,
NULL
,
N_
(
"Subtitles format"
),
SUB_TYPE_LONGTEXT
,
VLC_TRUE
);
change_string_list
(
ppsz_sub_type
,
0
,
0
);
change_string_list
(
ppsz_sub_type
,
NULL
,
NULL
);
set_callbacks
(
Open
,
Close
);
add_shortcut
(
"subtitle"
);
...
...
@@ -144,9 +144,9 @@ static int ParseDVDSubtitle( demux_t *, subtitle_t * );
static
struct
{
char
*
psz_type_name
;
c
onst
c
har
*
psz_type_name
;
int
i_type
;
char
*
psz_name
;
c
onst
c
har
*
psz_name
;
int
(
*
pf_read
)(
demux_t
*
,
subtitle_t
*
);
}
sub_read_subtitle_function
[]
=
{
...
...
@@ -1084,7 +1084,7 @@ static int ParseVplayer( demux_t *p_demux, subtitle_t *p_subtitle )
return
(
0
);
}
static
char
*
ParseSamiSearch
(
text_t
*
txt
,
char
*
psz_start
,
char
*
psz_str
)
static
char
*
ParseSamiSearch
(
text_t
*
txt
,
char
*
psz_start
,
c
onst
c
har
*
psz_str
)
{
if
(
psz_start
)
{
...
...
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