diff options
author | Basilisk-Dev <basiliskdev@protonmail.com> | 2023-09-28 09:49:10 -0400 |
---|---|---|
committer | Basilisk-Dev <basiliskdev@protonmail.com> | 2023-09-28 09:49:10 -0400 |
commit | ed7b08e6089de2dd9a1cee595d9ff7ed1fae919d (patch) | |
tree | 775b195a54ef8a17feaa29cab69b47e96df6d864 /media | |
parent | ac24db13efafdd2a973cd11e70f3ad7e2e93b233 (diff) | |
download | uxp-ed7b08e6089de2dd9a1cee595d9ff7ed1fae919d.tar.gz |
Cherry-pick upstream libvpx fix
Backport of https://hg.mozilla.org/releases/mozilla-esr115/rev/5241232a3292943bd59ff1704eab60fee3cbc9d1
Addresses CVE-2023-5217
Diffstat (limited to 'media')
-rw-r--r-- | media/libvpx/vp8/encoder/onyx_if.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/media/libvpx/vp8/encoder/onyx_if.c b/media/libvpx/vp8/encoder/onyx_if.c index 40e29e191a..0cd3e04503 100644 --- a/media/libvpx/vp8/encoder/onyx_if.c +++ b/media/libvpx/vp8/encoder/onyx_if.c @@ -1557,6 +1557,10 @@ void vp8_change_config(VP8_COMP *cpi, VP8_CONFIG *oxcf) last_h = cpi->oxcf.Height; prev_number_of_layers = cpi->oxcf.number_of_layers; + if (cpi->initial_width) { + oxcf->multi_threaded = cpi->oxcf.multi_threaded; + } + cpi->oxcf = *oxcf; switch (cpi->oxcf.Mode) |