Re: [FFmpeg-cvslog] avcodec/libspeexdec: support zygoaudio

2014-11-22 Thread Michael Niedermayer
On Fri, Nov 21, 2014 at 08:39:19PM +0100, Reimar Döffinger wrote: > 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"? fixed thx > It doesn't really matter curr

Re: [FFmpeg-cvslog] avcodec/libspeexdec: support zygoaudio

2014-11-21 Thread Reimar Döffinger
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