On Mon, Jan 09, 2017 at 08:21:25PM +0100, Steinar H. Gunderson wrote: > On Mon, Jan 09, 2017 at 08:17:18PM +0100, Michael Niedermayer wrote: > >> + /* Reverse the AC VLC, because INIT_VLC_LE wants it in that > >> order. */ > >> + for (i = 0; i < FF_ARRAY_ELEMS(speedhq_vlc); ++i) { > >> + speedhq_vlc[i][0] = reverse(speedhq_vlc[i][0], > >> speedhq_vlc[i][1]); > >> + } > > This makes the init thread unsafe > > it would be better if the table was const and this wasnt done at > > runtime > > Do you want all three tables, or just this one? > > Optionally, I can keep the original one const, and just copy into a temporary > here.
anything that works and is thread safe is fine with me pick what you prefer from what people like [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB What does censorship reveal? It reveals fear. -- Julian Assange
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel