Fix crash when rolling libaom.

The crash is caused by https://aomedia.googlesource.com/aom.git/+/77cf417565ad2c527d5c351927f11db3764fd93c%5E%21

Example of the test failure:
https://ci.chromium.org/ui/p/webrtc/builders/try/linux_rel/72442/overview

Bug: None
Change-Id: I088bf7e45452cdaa71802802e431119e755eca24
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/337320
Commit-Queue: Jeremy Leconte <jleconte@google.com>
Reviewed-by: Marco Paniconi <marpan@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#41659}
This commit is contained in:
Jeremy Leconte 2024-02-01 12:19:40 +01:00 committed by WebRTC LUCI CQ
parent 9d653660e9
commit f19c7caeb5
2 changed files with 2 additions and 1 deletions

2
DEPS
View File

@ -296,7 +296,7 @@ deps = {
'src/third_party/dav1d/libdav1d': 'src/third_party/dav1d/libdav1d':
'https://chromium.googlesource.com/external/github.com/videolan/dav1d.git@47107e384bd1dc25674acf04d000a8cdc6195234', 'https://chromium.googlesource.com/external/github.com/videolan/dav1d.git@47107e384bd1dc25674acf04d000a8cdc6195234',
'src/third_party/libaom/source/libaom': 'src/third_party/libaom/source/libaom':
'https://aomedia.googlesource.com/aom.git@1a72ea323d65e46eb90d08d492c04891abb91926', 'https://aomedia.googlesource.com/aom.git@77cf417565ad2c527d5c351927f11db3764fd93c',
'src/third_party/libunwindstack': { 'src/third_party/libunwindstack': {
'url': 'https://chromium.googlesource.com/chromium/src/third_party/libunwindstack.git@a3bb4cd02e0e984a235069f812cbef2b37c389e5', 'url': 'https://chromium.googlesource.com/chromium/src/third_party/libunwindstack.git@a3bb4cd02e0e984a235069f812cbef2b37c389e5',
'condition': 'checkout_android', 'condition': 'checkout_android',

View File

@ -62,6 +62,7 @@ VideoCodec DefaultCodecSettings() {
codec_settings.height = kHeight; codec_settings.height = kHeight;
codec_settings.maxFramerate = kFramerate; codec_settings.maxFramerate = kFramerate;
codec_settings.maxBitrate = 1000; codec_settings.maxBitrate = 1000;
codec_settings.startBitrate = 1;
codec_settings.qpMax = 63; codec_settings.qpMax = 63;
return codec_settings; return codec_settings;
} }