vf_tile: fix output buffer ownership.
authorNicolas George <nicolas.george@normalesup.org>
Wed, 1 Aug 2012 10:23:48 +0000 (12:23 +0200)
committerNicolas George <nicolas.george@normalesup.org>
Wed, 1 Aug 2012 10:23:48 +0000 (12:23 +0200)
commitf952b23ed4b720b4544d520713458ea28e12c2d6
tree30a48effc7768f4cc97c3e26d6b55b73feb57ded
parent7ddf082f0425ef40bc679d4fae901a1d73463d1c
vf_tile: fix output buffer ownership.

There is no need to start_frame immediately on the output link
since the rest is only done with the last frame of the tile.
link->out_buf is now automatically dereferenced; since we give
it away it must be cleared.

Fix an assert failure; found by Clément Bœsch.
libavfilter/vf_tile.c