[vlc-commits] text_renderer: fix empty rendering return value
Francois Cartegnie
git at videolan.org
Mon Aug 3 10:54:22 CEST 2020
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Sat Jul 25 17:19:37 2020 +0200| [f2dbdc161c243df7453341838c6fd93893e8f2b4] | committer: Francois Cartegnie
text_renderer: fix empty rendering return value
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f2dbdc161c243df7453341838c6fd93893e8f2b4
---
modules/text_renderer/freetype/freetype.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/modules/text_renderer/freetype/freetype.c b/modules/text_renderer/freetype/freetype.c
index 882aa925f7..020aa03f43 100644
--- a/modules/text_renderer/freetype/freetype.c
+++ b/modules/text_renderer/freetype/freetype.c
@@ -1332,6 +1332,10 @@ static int Render( filter_t *p_filter, subpicture_region_t *p_region_out,
break;
}
}
+ else
+ {
+ rv = VLC_EGENERIC;
+ }
FreeLines( text_block.p_laid );
More information about the vlc-commits
mailing list