From 3c2ffdcd5f5c1152862568fe77c38ed6c03e8053 Mon Sep 17 00:00:00 2001 From: tWX1291945 Date: Thu, 19 Oct 2023 04:14:09 -0400 Subject: [PATCH] =?UTF-8?q?=E6=BC=8F=E6=B4=9E=E4=BF=A1=E6=81=AF=20?= =?UTF-8?q?=E6=BC=8F=E6=B4=9E=E7=BC=96=E5=8F=B7:=20CVE-2023-5217=20?= =?UTF-8?q?=E6=BC=8F=E6=B4=9E=E5=BD=92=E5=B1=9E=E7=BB=84=E4=BB=B6:=20chrom?= =?UTF-8?q?ium=20=E6=BC=8F=E6=B4=9E=E5=BD=92=E5=B1=9E=E7=89=88=E6=9C=AC:?= =?UTF-8?q?=2099.0.4844.88=20CVSS=20V3.0=E5=88=86=E5=80=BC:=20BaseScore:?= =?UTF-8?q?=208.8=20=E9=AB=98=E5=8D=B1=20Vector:=20CVSS:3.0/AV:N/AC:L/PR:N?= =?UTF-8?q?/UI:N/S:U/C:L/I:L/A:L=20=E6=BC=8F=E6=B4=9E=E7=AE=80=E8=BF=B0:?= =?UTF-8?q?=20=E6=AD=A4=E8=BD=AF=E4=BB=B6=E5=8C=85=E7=9A=84=E5=8F=97?= =?UTF-8?q?=E5=BD=B1=E5=93=8D=E7=89=88=E6=9C=AC=E5=AE=B9=E6=98=93=E5=8F=97?= =?UTF-8?q?=E5=88=B0=20libvpx=20=E4=B8=AD=20vp8=20=E7=BC=96=E7=A0=81?= =?UTF-8?q?=E4=B8=AD=E5=9F=BA=E4=BA=8E=E5=A0=86=E7=9A=84=E7=BC=93=E5=86=B2?= =?UTF-8?q?=E5=8C=BA=E6=BA=A2=E5=87=BA=E7=9A=84=E5=BD=B1=E5=93=8D=E3=80=82?= =?UTF-8?q?=20=E6=BC=8F=E6=B4=9E=E5=85=AC=E5=BC=80=E6=97=B6=E9=97=B4:=20?= =?UTF-8?q?=E6=BC=8F=E6=B4=9E=E5=88=9B=E5=BB=BA=E6=97=B6=E9=97=B4:=202023-?= =?UTF-8?q?10-10=2017:00:40=20=E6=BC=8F=E6=B4=9E=E8=AF=A6=E6=83=85?= =?UTF-8?q?=E5=8F=82=E8=80=83=E9=93=BE=E6=8E=A5:=20https://nvd.nist.gov/vu?= =?UTF-8?q?ln/detail/CVE-2023-5217?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: tWX1291945 --- media/video/vpx_video_encoder.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/media/video/vpx_video_encoder.cc b/media/video/vpx_video_encoder.cc index e80e08ae5a..be74c74fc0 100644 --- a/media/video/vpx_video_encoder.cc +++ b/media/video/vpx_video_encoder.cc @@ -614,6 +614,10 @@ void VpxVideoEncoder::ChangeOptions(const Options& options, std::move(done_cb).Run(status); return; } + + // libvpx doesn't support adjusting the number of threads + // midway through an encoding session. More details: crbug.com/1486441 + new_config.g_threads = codec_config_.g_threads; status = ReallocateVpxImageIfNeeded(&vpx_image_, vpx_image_.fmt, options.frame_size.width(), -- Gitee