diff --git a/media/codec2/components/dav1d/C2SoftDav1dDec.cpp b/media/codec2/components/dav1d/C2SoftDav1dDec.cpp index 44a8dd1748064a062ea3256a227c2d4d20670f58..4c1bf722ac284b8391f00fbceccaf46c677e3efb 100644 --- a/media/codec2/components/dav1d/C2SoftDav1dDec.cpp +++ b/media/codec2/components/dav1d/C2SoftDav1dDec.cpp @@ -542,6 +542,7 @@ bool C2SoftDav1dDec::initDecoder() { Dav1dSettings lib_settings; dav1d_default_settings(&lib_settings); + lib_settings.all_layers = 0; int cpu_count = GetCPUCoreCount(); lib_settings.n_threads = std::max(cpu_count / 2, 1); // use up to half the cores by default.