Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
18175698
Commit
18175698
authored
Sep 17, 2008
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a segfault when trying to render a unbreakable string.
parent
3d5a7bad
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
modules/misc/freetype.c
modules/misc/freetype.c
+2
-5
No files found.
modules/misc/freetype.c
View file @
18175698
...
...
@@ -1726,10 +1726,9 @@ static int RenderTag( filter_t *p_filter, FT_Face p_face, int i_font_color,
glyph_size
.
xMin
+
((
FT_BitmapGlyph
)
tmp_glyph
)
->
left
;
if
(
line
.
xMax
>
(
int
)
p_filter
->
fmt_out
.
video
.
i_visible_width
-
20
)
{
while
(
--
i
>
*
pi_start
)
{
for
(
;
i
>=
*
pi_start
;
i
--
)
FT_Done_Glyph
(
(
FT_Glyph
)
p_line
->
pp_glyphs
[
i
]
);
}
i
=
*
pi_start
;
while
(
psz_unicode
>
psz_unicode_start
&&
*
psz_unicode
!=
' '
)
{
...
...
@@ -1753,8 +1752,6 @@ static int RenderTag( filter_t *p_filter, FT_Face p_face, int i_font_color,
p_result
->
x
=
__MAX
(
p_result
->
x
,
line
.
xMax
);
p_result
->
y
=
__MAX
(
p_result
->
y
,
__MAX
(
p_line
->
i_height
,
i_yMax
-
i_yMin
)
);
*
pi_start
=
i
;
return
VLC_SUCCESS
;
}
else
...
...
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