opus_pvq: make max_den a float
authorRostislav Pehlivanov <atomnuker@gmail.com>
Thu, 28 Sep 2017 21:39:36 +0000 (22:39 +0100)
committerRostislav Pehlivanov <atomnuker@gmail.com>
Thu, 28 Sep 2017 21:41:08 +0000 (22:41 +0100)
commit05dfa21d47f35f394938653abcab8b3baa3bc999
tree024a2afb1a9c5987e49b3021ada43459fb4fc61b
parentd81b34069e80cb04160689ef5a160b9aee858257
opus_pvq: make max_den a float

Prevents int->float conversions on every loop.
Performance gain on synthetic benchmarks: 13%.
Suggested by kamedo2.

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
libavcodec/opus_pvq.c