Zhaoliang Ma ea8dfd5011 Handle null structure for invalid scalability mode case
The scalability mode could be something invalid set by user, in this
case, |num_spatial_layers| should not be updated.

Bug: chromium:1292923
Change-Id: I78e1a6f12cf6d165597205608e4c124117a3d01b
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/251560
Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org>
Commit-Queue: Zhaoliang Ma <zhaoliang.ma@intel.com>
Cr-Commit-Position: refs/heads/main@{#35985}
2022-02-14 03:00:39 +00:00
..
2022-01-31 11:40:27 +00:00
2019-07-08 13:45:15 +00:00