ref: a40689e6efccb13065a0e2db22c06208482dea6f
parent: 84dd1cf9b701d45124770b795656a98aa53222dd
author: Timothy B. Terriberry <tterribe@xiph.org>
date: Fri Sep 7 02:01:53 EDT 2012
Remove large multistream stack buffers. This avoids allocating any buffers on the stack that depend on the total channel count. Such buffers could easily exceed the size of the NONTHREADSAFE_PSEUDOSTACK. It also checks the frame_size argument in both the encoder and decoder to avoid allocating large stack buffers for opus_encode() calls that would fail anyway or opus_decode() calls that would never use all that space anyway.