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
eb9cf6a8
Commit
eb9cf6a8
authored
Oct 24, 2004
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cosmetics
parent
9b4453a6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
modules/misc/freetype.c
modules/misc/freetype.c
+9
-9
No files found.
modules/misc/freetype.c
View file @
eb9cf6a8
...
...
@@ -433,7 +433,7 @@ static subpicture_t *RenderText( filter_t *p_filter, block_t *p_block )
p_string
=
malloc
(
sizeof
(
subpicture_data_t
)
);
if
(
!
p_string
)
{
msg_Err
(
p_filter
,
"
O
ut of memory"
);
msg_Err
(
p_filter
,
"
o
ut of memory"
);
goto
error
;
}
p_string
->
p_lines
=
0
;
...
...
@@ -443,7 +443,7 @@ static subpicture_t *RenderText( filter_t *p_filter, block_t *p_block )
malloc
(
(
strlen
(
psz_string
)
+
1
)
*
sizeof
(
uint32_t
)
);
if
(
psz_unicode
==
NULL
)
{
msg_Err
(
p_filter
,
"
O
ut of memory"
);
msg_Err
(
p_filter
,
"
o
ut of memory"
);
goto
error
;
}
#if defined(WORDS_BIGENDIAN)
...
...
@@ -453,7 +453,7 @@ static subpicture_t *RenderText( filter_t *p_filter, block_t *p_block )
#endif
if
(
iconv_handle
==
(
vlc_iconv_t
)
-
1
)
{
msg_Warn
(
p_filter
,
"
U
nable to do convertion"
);
msg_Warn
(
p_filter
,
"
u
nable to do convertion"
);
goto
error
;
}
...
...
@@ -472,7 +472,7 @@ static subpicture_t *RenderText( filter_t *p_filter, block_t *p_block )
if
(
i_in_bytes
)
{
msg_Warn
(
p_filter
,
"
F
ailed to convert string to unicode (%s), "
msg_Warn
(
p_filter
,
"
f
ailed to convert string to unicode (%s), "
"bytes left %d"
,
strerror
(
errno
),
i_in_bytes
);
goto
error
;
}
...
...
@@ -498,7 +498,7 @@ static subpicture_t *RenderText( filter_t *p_filter, block_t *p_block )
p_line
=
NewLine
(
psz_string
);
if
(
p_line
==
NULL
)
{
msg_Err
(
p_filter
,
"
O
ut of memory"
);
msg_Err
(
p_filter
,
"
o
ut of memory"
);
goto
error
;
}
p_string
->
p_lines
=
p_line
;
...
...
@@ -525,7 +525,7 @@ static subpicture_t *RenderText( filter_t *p_filter, block_t *p_block )
p_next
=
NewLine
(
psz_string
);
if
(
p_next
==
NULL
)
{
msg_Err
(
p_filter
,
"
O
ut of memory"
);
msg_Err
(
p_filter
,
"
o
ut of memory"
);
goto
error
;
}
p_line
->
p_next
=
p_next
;
...
...
@@ -601,7 +601,7 @@ static subpicture_t *RenderText( filter_t *p_filter, block_t *p_block )
}
if
(
psz_unicode
==
psz_line_start
)
{
msg_
Err
(
p_filter
,
"U
nbreakable string"
);
msg_
Warn
(
p_filter
,
"u
nbreakable string"
);
goto
error
;
}
else
...
...
@@ -617,7 +617,7 @@ static subpicture_t *RenderText( filter_t *p_filter, block_t *p_block )
line
.
yMin
=
0
;
line
.
yMax
=
0
;
i
=
0
;
continue
;
continue
;
}
line
.
yMax
=
__MAX
(
line
.
yMax
,
glyph_size
.
yMax
);
line
.
yMin
=
__MIN
(
line
.
yMin
,
glyph_size
.
yMin
);
...
...
@@ -704,7 +704,7 @@ static line_desc_t *NewLine( byte_t *psz_string )
return
NULL
;
}
p_line
->
pp_glyphs
[
0
]
=
NULL
;
p_line
->
p_glyph_pos
=
malloc
(
sizeof
(
FT_Vector
)
*
i_count
+
1
);
if
(
p_line
->
p_glyph_pos
==
NULL
)
...
...
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