OSDN Git Service

drawtext: manage memory allocation better
authorLuca Barbato <lu_zero@gentoo.org>
Thu, 1 Dec 2011 10:27:19 +0000 (11:27 +0100)
committerLuca Barbato <lu_zero@gentoo.org>
Sat, 3 Dec 2011 00:35:28 +0000 (01:35 +0100)
commitec11ff8407eadc65f4225f83e778c504c00ce037
tree93d6c50503646a001819162a3dda970dabc06822
parenta2fb4bcb0189f6421608e0dec1a38c65910763f6
drawtext: manage memory allocation better

Call dtext_prepare_text as early as possible
Do not draw if the memory allocation failed
libavfilter/vf_drawtext.c