[vlc-devel] [vlc-commits] commit: MacOS: try to fix MacOS Audio crash (Jean-Baptiste Kempf )

Pierre d'Herbemont pdherbemont at free.fr
Mon Jul 19 11:20:10 CEST 2010


On Mon, Jul 19, 2010 at 10:59 AM, Jean-Baptiste Kempf <jb at videolan.org> wrote:
> On Mon, Jul 19, 2010 at 10:54:16AM +0200, Pierre d'Herbemont wrote :
>> > -#define BUFSIZE (FRAMESIZE * 8)
>> > +#define BUFSIZE (FRAMESIZE * 8) * 8
>>
>> Looks suspicious, what is wrong here?
>
> Search all forum, bugreports and external websites, and so on, about how
> VLC crashes with 5.1 (and more) outputs. Stacktraces are numerous...
>
> Maybe a *4 would work, but I prefered to be safe than non-working...
>
> This is bad, I know, but at least it fixes the issue for 1.1.1.
>
> Correct fix is welcome.

ok, thanks. This will increase memory footprint. We could probably
have one alloc for 5.1, and an other for the rest.

Pierre.



More information about the vlc-devel mailing list