[MPlayer-dev-eng] [PATCH] muxer_mpeg bff_mask should be malloced

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Sun Jan 13 22:51:31 CET 2008


Hello,
On Sun, Jan 13, 2008 at 09:58:58PM +0100, Nico Sabbi wrote:
> Il Sunday 13 January 2008 16:28:24 Reimar Döffinger ha scritto:
> > Hello,
> > bff_mask is nearly 2 MB large and it currently is a global variable
> > in .bss.
> > This means that upon program startup this memory must be
> > initialized to 0.
> > Attached patch just moves it into the priv structure.
> > I doubt that speed matters, since otherwise someone would have
> > chosen MAX_PATTERN_LENGTH to be a power of 2 instead of using
> > %-operation ;-)
> 
> ok

Applied.

Greetings,
Reimar Döffinger



More information about the MPlayer-dev-eng mailing list