On Fri, Nov 21, 2014 at 08:20:42PM +0100, Michael Niedermayer wrote: > + s->pktsize = ((int[]){5,10,15,20,20,28,28,38,38,46,62})[quality]; nit: shouldn't it be "const int"? It doesn't really matter currently since all compilers seem to be unable to put this construct in .rodata even if you mark it const :(