opus_pvq: remove unneeded assert
authorRostislav Pehlivanov <atomnuker@gmail.com>
Fri, 24 Feb 2017 07:06:59 +0000 (07:06 +0000)
committerRostislav Pehlivanov <atomnuker@gmail.com>
Fri, 24 Feb 2017 07:06:59 +0000 (07:06 +0000)
commitf19442c069929727b19c948619488370d279e177
treead9578cd419f856ef7f59c11a203c4526ab58014
parent22b8ada7b5e0a1ef58b21cf8e481e0c2b28ce94e
opus_pvq: remove unneeded assert

Since the PVQ search has been well fuzzed and is guaranteed to never
break SUM(abs(y[])) == K, the assert is no longer needed.
Also the assert only prevented coding the wrong vector index but didn't
prevent crashes during searching for it, which made the assert rather
informational than practical.

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