Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
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
Show 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