lavr: allocate the resampling buffer with a positive size
authorAnton Khirnov <anton@khirnov.net>
Thu, 20 Mar 2014 19:40:24 +0000 (20:40 +0100)
committerAnton Khirnov <anton@khirnov.net>
Sun, 13 Apr 2014 09:21:20 +0000 (11:21 +0200)
commitac976ed91e323754e9a84509873ebdb437372797
tree28b30f2e7149dc13a09e37fa4ce18bf92bd17823
parent13164e479f1c87829096c19003d2cc658ccc1fd4
lavr: allocate the resampling buffer with a positive size

This fixes cases where very few input samples (fewer than needed for one
output sample) are passed to lavr at the beginning.
CC:libav-stable@libav.org
libavresample/utils.c