webrtc/modules/video_coding/codecs
Rasmus Brandt 58cd385e58 Fix potential division by zero in VP9 VideoCodecTest.
When GetSvcConfig returned fewer spatial layers than the number
statically configured from the test, we would crash on a SIGFPE.

This is not a problem in the production code, since there we
reset the encoder with the correct number of spatial layers
whenever the resolution changes.

Bug: None
Change-Id: I339e4a3c0fa993c7c649533c0eae71e1314194e7
Reviewed-on: https://webrtc-review.googlesource.com/85374
Reviewed-by: Michael Horowitz <mhoro@webrtc.org>
Reviewed-by: Sergey Silkin <ssilkin@webrtc.org>
Commit-Queue: Rasmus Brandt <brandtr@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23741}
2018-06-26 12:58:25 +00:00
..
h264 Generalize SimulcastEncoderAdapter, use for H264 & VP8. 2018-06-21 15:57:43 +00:00
i420 Deprecate RTPFragmentationHeader argument to VideoDecoder::Decode 2018-05-08 08:09:35 +00:00
interface Delete unused deprecated headers under modules/video_coding/ 2018-02-16 14:07:38 +00:00
multiplex Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
test Fix potential division by zero in VP9 VideoCodecTest. 2018-06-26 12:58:25 +00:00
vp8 Generalize SimulcastEncoderAdapter, use for H264 & VP8. 2018-06-21 15:57:43 +00:00
vp9 Fix potential division by zero in VP9 VideoCodecTest. 2018-06-26 12:58:25 +00:00