diff options
Diffstat (limited to 'chromium/media/base/media.cc')
-rw-r--r-- | chromium/media/base/media.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chromium/media/base/media.cc b/chromium/media/base/media.cc index c85d4654d3b..388c6e0eb35 100644 --- a/chromium/media/base/media.cc +++ b/chromium/media/base/media.cc @@ -27,6 +27,10 @@ class MediaInitializer { InitializeCPUSpecificYUVConversions(); #if !defined(MEDIA_DISABLE_FFMPEG) + // Initialize CPU flags outside of the sandbox as this may query /proc for + // details on the current CPU for NEON, VFP, etc optimizations. + av_get_cpu_flags(); + // Disable logging as it interferes with layout tests. av_log_set_level(AV_LOG_QUIET); |