Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Steve Lhomme
VLC
Commits
0aa6c19c
Commit
0aa6c19c
authored
Aug 22, 2015
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
freetype: fix integer overflow
parent
887bda11
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
modules/text_renderer/text_layout.c
modules/text_renderer/text_layout.c
+4
-4
No files found.
modules/text_renderer/text_layout.c
View file @
0aa6c19c
...
...
@@ -1050,10 +1050,10 @@ static int LayoutLine( filter_t *p_filter,
bool
b_karaoke
=
p_paragraph
->
pi_karaoke_bar
[
i_paragraph_index
]
!=
0
;
p_ch
->
i_color
=
b_karaoke
?
(
uint32_t
)
p_glyph_style
->
i_karaoke_background_color
|
p_glyph_style
->
i_karaoke_background_alpha
<<
24
:
(
uint32_t
)
p_glyph_style
->
i_font_color
|
p_glyph_style
->
i_font_alpha
<<
24
;
(
uint32_t
)
p_glyph_style
->
i_karaoke_background_color
|
(
uint32_t
)
p_glyph_style
->
i_karaoke_background_alpha
<<
24
:
(
uint32_t
)
p_glyph_style
->
i_font_color
|
(
uint32_t
)
p_glyph_style
->
i_font_alpha
<<
24
;
p_ch
->
i_line_thickness
=
i_line_thickness
;
p_ch
->
i_line_offset
=
i_line_offset
;
...
...
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