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, 24 Apr 2016 10:41:09 +0000 (12:41 +0200)
commitf2e9e4757f7d02ff84018138577b2321e123b6a9
treec2631e432fe4164c5455dddaeaec877534dfaaa4
parent512c064cd9e064fccd5809bc0928822a7324373d
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