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
c4aad5aa
Commit
c4aad5aa
authored
Apr 24, 2014
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
subsusf: simplification
parent
495dbc7c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
modules/codec/subsusf.c
modules/codec/subsusf.c
+3
-5
No files found.
modules/codec/subsusf.c
View file @
c4aad5aa
...
@@ -1065,12 +1065,10 @@ static char *StripTags( char *psz_subtitle )
...
@@ -1065,12 +1065,10 @@ static char *StripTags( char *psz_subtitle )
psz_subtitle
++
;
psz_subtitle
++
;
}
}
*
psz_text
=
'\0'
;
*
psz_text
++
=
'\0'
;
char
*
psz
=
realloc
(
psz_text_start
,
strlen
(
psz_text_start
)
+
1
);
char
*
psz
=
realloc
(
psz_text_start
,
psz_text
-
psz_text_start
);
if
(
psz
)
psz_text_start
=
psz
;
return
likely
(
psz
!=
NULL
)
?
psz
:
psz_text_start
;
return
psz_text_start
;
}
}
/* Turn a HTML subtitle, turn into a plain-text version,
/* Turn a HTML subtitle, turn into a plain-text version,
...
...
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