[vlc-commits] freetype: early fail
Francois Cartegnie
git at videolan.org
Tue Aug 11 13:30:42 CEST 2020
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Aug 4 22:04:37 2020 +0200| [0a7b031e591c9f56252463ef1d3b38b56bf68bf4] | committer: Francois Cartegnie
freetype: early fail
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0a7b031e591c9f56252463ef1d3b38b56bf68bf4
---
modules/text_renderer/freetype/freetype.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/text_renderer/freetype/freetype.c b/modules/text_renderer/freetype/freetype.c
index 26dd7ae354..d65e22bc6d 100644
--- a/modules/text_renderer/freetype/freetype.c
+++ b/modules/text_renderer/freetype/freetype.c
@@ -1154,7 +1154,7 @@ static int Render( filter_t *p_filter, subpicture_region_t *p_region_out,
subpicture_region_t *p_region_in,
const vlc_fourcc_t *p_chroma_list )
{
- if( !p_region_in )
+ if( !p_region_in || !p_region_in->p_text )
return VLC_EGENERIC;
filter_sys_t *p_sys = p_filter->p_sys;
More information about the vlc-commits
mailing list