Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
ca1265b6
Commit
ca1265b6
authored
Jun 13, 2011
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed write only variable (freetype).
parent
a64b8e49
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
modules/misc/text_renderer/freetype.c
modules/misc/text_renderer/freetype.c
+0
-6
No files found.
modules/misc/text_renderer/freetype.c
View file @
ca1265b6
...
@@ -240,7 +240,6 @@ struct filter_sys_t
...
@@ -240,7 +240,6 @@ struct filter_sys_t
{
{
FT_Library
p_library
;
/* handle to library */
FT_Library
p_library
;
/* handle to library */
FT_Face
p_face
;
/* handle to face object */
FT_Face
p_face
;
/* handle to face object */
bool
i_use_kerning
;
uint8_t
i_font_opacity
;
uint8_t
i_font_opacity
;
int
i_font_color
;
int
i_font_color
;
int
i_font_size
;
int
i_font_size
;
...
@@ -2097,9 +2096,6 @@ static int ProcessLines( filter_t *p_filter,
...
@@ -2097,9 +2096,6 @@ static int ProcessLines( filter_t *p_filter,
free
(
pi_karaoke_bar
);
free
(
pi_karaoke_bar
);
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
}
}
p_sys
->
i_use_kerning
=
FT_HAS_KERNING
(
(
p_face
?
p_face
:
p_sys
->
p_face
)
);
uint32_t
*
psz_unicode
=
malloc
(
(
k
-
i_prev
+
1
)
*
sizeof
(
*
psz_unicode
)
);
uint32_t
*
psz_unicode
=
malloc
(
(
k
-
i_prev
+
1
)
*
sizeof
(
*
psz_unicode
)
);
if
(
!
psz_unicode
)
if
(
!
psz_unicode
)
...
@@ -2536,8 +2532,6 @@ static int Create( vlc_object_t *p_this )
...
@@ -2536,8 +2532,6 @@ static int Create( vlc_object_t *p_this )
goto
error
;
goto
error
;
}
}
p_sys
->
i_use_kerning
=
FT_HAS_KERNING
(
p_sys
->
p_face
);
if
(
SetFontSize
(
p_filter
,
0
)
!=
VLC_SUCCESS
)
goto
error
;
if
(
SetFontSize
(
p_filter
,
0
)
!=
VLC_SUCCESS
)
goto
error
;
...
...
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