lavfi/asettb: do not create a new reference in filter_samples()
authorStefano Sabatini <stefasab@gmail.com>
Mon, 30 Jul 2012 12:58:22 +0000 (14:58 +0200)
committerStefano Sabatini <stefasab@gmail.com>
Tue, 31 Jul 2012 11:15:51 +0000 (13:15 +0200)
commitb4c3359828d232d8e81c1bff2dcbbca773dee2d7
treeb39f6782f72b9a4d49bcb92f83228fb219576aed
parenta7c3720e879e61252c4f140aa2ebd35a34cd4dbe
lavfi/asettb: do not create a new reference in filter_samples()

There is no need to duplicate the input reference, since a filter should
not pass along a reference which is later modified. If this happens the
filter passing the reference should be fixed.

Also improve consistency with start_frame() of settb, allowing a pending
factorization.
libavfilter/f_settb.c