swr: move if() block into the only branch where it can be true.
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 15 Nov 2012 11:22:16 +0000 (12:22 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 15 Nov 2012 11:33:40 +0000 (12:33 +0100)
commitd53f4471308189cf825091bb5ed95843d59affcd
treeed2e7ecc72986809baac83abf609f8a33f7ae329
parent17da2d9eee6bb3968522a2f1cdb54117260b6b7d
swr: move if() block into the only branch where it can be true.

This should make the code a tiny tiny bit faster.

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