Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
4a1b6b00
Commit
4a1b6b00
authored
Jul 19, 2007
by
bitmap
Browse files
(hopefully) a fix for issue found by Ilkka Ollakka introduced in commit 20729
parent
14b5b5ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/misc/freetype.c
View file @
4a1b6b00
...
...
@@ -2404,7 +2404,7 @@ static int RenderHtml( filter_t *p_filter, subpicture_region_t *p_region_out,
p_region_out
->
i_x
=
p_region_in
->
i_x
;
p_region_out
->
i_y
=
p_region_in
->
i_y
;
if
(
rv
==
VLC_SUCCESS
)
if
(
(
rv
==
VLC_SUCCESS
)
&&
(
i_len
>
0
))
{
rv
=
ProcessLines
(
p_filter
,
psz_text
,
i_len
,
i_runs
,
pi_run_lengths
,
pp_styles
,
&
p_lines
,
&
result
,
...
...
@@ -2421,7 +2421,7 @@ static int RenderHtml( filter_t *p_filter, subpicture_region_t *p_region_out,
/* Don't attempt to render text that couldn't be layed out
* properly.
*/
if
(
rv
==
VLC_SUCCESS
)
if
(
(
rv
==
VLC_SUCCESS
)
&&
(
i_len
>
0
))
{
if
(
config_GetInt
(
p_filter
,
"freetype-yuvp"
)
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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