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
3bd4f0e3
Commit
3bd4f0e3
authored
May 12, 2015
by
Salah-Eddin Shaban
Committed by
Jean-Baptiste Kempf
May 12, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
freetype: remove compiler warnings
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
531289a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
modules/text_renderer/text_layout.c
modules/text_renderer/text_layout.c
+5
-5
No files found.
modules/text_renderer/text_layout.c
View file @
3bd4f0e3
...
...
@@ -126,7 +126,7 @@ typedef struct paragraph_t
}
paragraph_t
;
void
FreeLine
(
line_desc_t
*
p_line
)
static
void
FreeLine
(
line_desc_t
*
p_line
)
{
for
(
int
i
=
0
;
i
<
p_line
->
i_character_count
;
i
++
)
{
...
...
@@ -1038,10 +1038,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
?
p_paragraph
->
pp_styles
[
i_paragraph_index
]
->
i_karaoke_background_color
|
p_paragraph
->
pp_styles
[
i_paragraph_index
]
->
i_karaoke_background_alpha
<<
24
:
p_paragraph
->
pp_styles
[
i_paragraph_index
]
->
i_font_color
|
p_paragraph
->
pp_styles
[
i_paragraph_index
]
->
i_font_alpha
<<
24
;
(
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
;
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