[webcodecs] Limit max frame size to 8k
8k is big enough for most practical applications and saves some of OOMs and crashes of underlying codecs. Bug: 1127633, 1129359 Change-Id: I619a28dd6cb4eefc38f0328ca179e2684e627826 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2417511 Commit-Queue: Eugene Zemtsov <eugene@chromium.org> Reviewed-by:Thomas Guilbert <tguilbert@chromium.org> Cr-Commit-Position: refs/heads/master@{#808216}
Showing
Please register or sign in to comment