lavfi/af_amerge: check for buffer queue overflows.
authorNicolas George <nicolas.george@normalesup.org>
Thu, 31 Jan 2013 13:24:57 +0000 (14:24 +0100)
committerNicolas George <nicolas.george@normalesup.org>
Thu, 31 Jan 2013 20:03:54 +0000 (21:03 +0100)
commitae14887ee7f2a2c02957845b84afd711cf702b9b
treef56b8d16d96cad735a5214d4923141871ee2983f
parent6560625f0aeca470ac936542fcc24ed2da8eff5e
lavfi/af_amerge: check for buffer queue overflows.

Without that test, ff_bufqueue_add silently discards the
oldest buffer, that leaves in[i].nb_samples inconsistent,
and causes later a segfault.
libavfilter/af_amerge.c