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>
Wed, 27 Apr 2016 02:40:12 +0000 (04:40 +0200)
commitc6e3682a0c19101e553552c19822add392242195
tree200685a797ff7d859c9335a522bf31f2fe9fe012
parente80a4ce69f0eca53f7ef2b003bfa468faf6632af
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