af_lavcresample: avoid multiple calls to av_resample_init
commitf8509c52c02a59e604f0424f545c29fa9d8adb9e
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>
Sun, 11 Jul 2010 09:46:58 +0000 (11 09:46 +0000)
committerUoti Urpala <uau@glyph.nonexistent.invalid>
Tue, 2 Nov 2010 02:14:43 +0000 (2 04:14 +0200)
tree84451a81ae70b6dc0d6660e60f3d2e86f0f1d78c
parent1bcb3fc805e4d6577ac41ab797d38b8bacc8ef89
af_lavcresample: avoid multiple calls to av_resample_init

Avoid calling av_resample_init again when the values are the same as before.
The init function can be called multiple times when e.g. additional format
filters are inserted, so this speeds things up.
Patch by Dan Oscarsson [Dan.Oscarsson tieto com].

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31698 b3059339-0415-0410-9bf9-f77b7e298cf2

Reindent.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31699 b3059339-0415-0410-9bf9-f77b7e298cf2
libaf/af_lavcresample.c