wavpackenc: fix number of samples per block
authorChristophe Gisquet <christophe.gisquet@gmail.com>
Fri, 22 Aug 2014 09:31:42 +0000 (09:31 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 22 Aug 2014 10:18:08 +0000 (12:18 +0200)
commitddad09397247f523d7cc66c7f4ed7ea6894cc40e
tree0eba352ab0e867927f513908638c7379d080ca77
parent1b5ec6a0c3309e7a051751b2f989ffa068516d93
wavpackenc: fix number of samples per block

Currently, the encoder will try to reduce it down to 150000, but the
decoder will complain starting at 131072 (WV_MAX_SAMPLES). Therefore,
change the loop limit.

Fixes ticket #3881.

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