[MPlayer-dev-eng] Too big buffer in "libmpcodecs/ad_pcm.c"?

Reimar Doeffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Wed Aug 9 13:13:50 CEST 2006


hello,
On Wed, Aug 09, 2006 at 11:32:13AM +0200, Branimir Amidzic wrote:
> So, my question is: *is it safe to use smaller buffer?*

Yes.

> For example minimum possible: len = ((minlen + len) / len) * len.

But this is not safe, since then len can be > maxlen.
But as you said you problem is that maxlen is too large, so why not fix
that instead?

Greetings,
Reimar Doeffinger



More information about the MPlayer-dev-eng mailing list