vf_pullup: simplify, fix double free error
authorwm4 <nfxjfg@googlemail.com>
Tue, 25 Mar 2014 12:53:11 +0000 (13:53 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 26 Mar 2014 17:27:25 +0000 (18:27 +0100)
commit5b0ce5d4e3660fb0fc86779cbd027b47b1758c9f
tree0a0a2202937ae60d6cba348d1c4ba1894f2d3abd
parent54e2e9fbc15e7c652576d12b01512dbe9010cdf8
vf_pullup: simplify, fix double free error

The memory allocation for f->diffs was freed multiple times in some
corner cases. Simplify the code so that this doesn't happen.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/vf_pullup.c