avfilter/vf_drawtext: Check return code of load_glyph()
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 24 Apr 2016 10:30:20 +0000 (12:30 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 1 May 2016 03:00:45 +0000 (05:00 +0200)
commit1d3843fc939ef74c7bc2840414998dba47466c5a
treecad16c2012f104ffbb11583d2d947528ead0b0b9
parente196cd52348d99b5d9dbcff83f7b95751c58b8b0
avfilter/vf_drawtext: Check return code of load_glyph()

Fixes segfault
Fixes Ticket5347

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 2e67a99fbc6b99315925de40fc6fa7161576be10)

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavfilter/vf_drawtext.c