[FFmpeg-devel] [PATCH] avcodec/aac_tablegen: speed up table initialization

Ganesh Ajjanagadde gajjanag at mit.edu
Fri Nov 27 23:08:16 CET 2015


On Fri, Nov 27, 2015 at 4:33 PM, Rostislav Pehlivanov
<atomnuker at gmail.com> wrote:
> On Fri, 2015-11-27 at 15:59 -0500, Ganesh Ajjanagadde wrote:
>> I get build failures starting with commit
>> 3d62e7a30fa552be52d12b31e3e0f79153aff891 under
>> --enable-hardcoded-tables.
>> @Rostislav: can you check, reproduce, and resolve this?
>
> Fixed, thanks for reporting it quickly. Problem was
> that ff_aac_tableinit() couldn't be used as an argument to
> ff_thread_once(pthread_once) as it was a macro in the case of hardcoded
> tables.

Thanks for the quick fix, posted a patch for removing associated
ifdefry in aac_tablegen, i.e always runtime initing these tables.

> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel


More information about the ffmpeg-devel mailing list