Michael Niedermayer <michaelni at gmx.at> writes: > update_flags_cpu() is called on each sws_getCachedContext() and > redoing cpu detect on each such calls seems hackish We could make av_get_cpu_flags() cache the result and do the full detection only once. -- M?ns Rullg?rd mans at mansr.com