vf_drawtext: Do not leak the mmapped textfile
authorLuca Barbato <lu_zero@gentoo.org>
Fri, 17 Oct 2014 09:07:10 +0000 (10:07 +0100)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Mon, 12 Jan 2015 22:59:15 +0000 (23:59 +0100)
commit608e8d8dd754199b657b439f9e722e0b45f84461
treef68caf7a5753b8d6501140279684ed2059413d6c
parent4d48691622149ba5998de08a0acec85d1f4ed46a
vf_drawtext: Do not leak the mmapped textfile

And validate its size while at it.

CC: libav-stable@libav.org
Bug-Id: CID 1244189
libavfilter/vf_drawtext.c