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)
committerReinhard Tartler <siretart@tauware.de>
Sun, 20 Apr 2014 02:03:29 +0000 (22:03 -0400)
commit9d02e38d3f03100784348ff75fd181d2aaad7e43
tree41bc25a7ff4d1186bf0f60d3b3c33ff3889867ca
parent0f6e309b97e3da83a0fa75fbf1c4b50cd72047eb
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

(cherry picked from commit ac976ed91e323754e9a84509873ebdb437372797)
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
libavresample/utils.c