Valgrind report: uninitialized value in freetype module
==216869== 15 errors in context 3 of 7:
==216869== Thread 25:
==216869== Conditional jump or move depends on uninitialised value(s)
==216869== at 0xC40BE29: ??? (in /usr/lib/libfreetype.so.6.18.1)
==216869== by 0xC4111D3: FTC_ImageCache_LookupScaler (in /usr/lib/libfreetype.so.6.18.1)
==216869== by 0x1C4407FA: vlc_ftcache_GetGlyphForCurrentFace (ftcache.c:154)
==216869== by 0x1C442599: LoadGlyphs (text_layout.c:1094)
==216869== by 0x1C442599: BuildParagraph (text_layout.c:1661)
==216869== by 0x1C443CD7: LayoutTextBlock (text_layout.c:1765)
==216869== by 0x1C43DFAD: Render (freetype.c:1061)
==216869== by 0x49134D0: SpuRenderText.isra.0 (vout_subpictures.c:351)
==216869== by 0x4913B5E: spu_PrerenderText (vout_subpictures.c:1509)
==216869== by 0x4913B5E: spu_PrerenderThread (vout_subpictures.c:1552)
==216869== by 0x4BF85C1: start_thread (in /usr/lib/libc.so.6)
==216869== by 0x4C7D583: clone (in /usr/lib/libc.so.6)
==216869==
This is matching
FT_Long style_flags;
if( vlc_ftcache_GetGlyphForCurrentFace( p_sys->ftcache,
i_glyph_index,
&p_bitmaps->cglyph,
&style_flags ) )
SKIP_GLYPH( p_bitmaps );
It might likely be coming from p_bitmaps->cglyph.