[MPlayer-dev-eng] [PATCH] allow builtin codecs table to be const

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Tue Dec 4 19:39:31 CET 2007


Hello,
On Tue, Dec 04, 2007 at 08:10:02PM +0200, Uoti Urpala wrote:
> On Tue, 2007-12-04 at 17:33 +0200, Uoti Urpala wrote:
> > The builtin header would be the simpler case. Instead of "int t[32];" as
> > the field type and "{1,2,0,...,0}" in the header you'd have "int c; int
> > *t;" in the struct and "2, (int []){1, 2}" in the header.
> 
> ... and since you wanted to make the data const, change that to
> (const int[]){1,2}

Ok, ok. But I'll first try to make it const and then start thinking
about reducing the size. Though neither is as "important" as I though,
since it is quite a bit smaller than I though.

Greetings,
Reimar Döffinger



More information about the MPlayer-dev-eng mailing list