lavfi/formats: fix segfault when allocation fails
authorGanesh Ajjanagadde <gajjanagadde@gmail.com>
Sat, 5 Dec 2015 18:09:24 +0000 (13:09 -0500)
committerGanesh Ajjanagadde <gajjanagadde@gmail.com>
Fri, 11 Dec 2015 15:21:47 +0000 (10:21 -0500)
commit93afb338a405eac0f9e7b092bc26603378bfcca6
tree97afedf7b7271cab68c30da834caf6b67d6430c1
parent46cbb4c2312c654c44a94054e870840913a80024
lavfi/formats: fix segfault when allocation fails

This is a somewhat subtle failure that can occur when the realloc_array
fails in FORMATS_REF.

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
libavfilter/formats.c