]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
resample: Simplify initialization().
authorAndre Noll <maan@tuebingen.mpg.de>
Tue, 27 Dec 2016 18:29:38 +0000 (19:29 +0100)
committerAndre Noll <maan@tuebingen.mpg.de>
Wed, 28 Dec 2016 14:33:20 +0000 (15:33 +0100)
In resample_init(), the first check removed in this commit was bogus
because in case there is no parent buffer tree node, we must only
abort if there is no input pending either.

In resample_post_select(), we move up the check of the node status
so that we now call resample_init() only after we know that there
is input available. This makes the second check in resample_init()
pointless as the condition can never be true.


No differences found