Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[LibvpxVp8Encoder] Don't DCHECK crash if I420 is not equal to I420A.
In CL https://webrtc-review.googlesource.com/c/src/+/216323 we fixed the issue where I420 and I420A not being equal would result in dropping frames in release builds. But we forgot to update the corresponding DCHECK, meaning the I420 not being the same as I420A issue still causes crashes on debug builds. (I must have been running a release build not to catch this before?) This CL replaces the DCHECK_EQ with an RTC_NOTREACHED inside the IsCompatibleVideoFrameBufferType check. Because this only affects debug builds, this CL does not need to be backmerged anywhere. Bug: chromium:1203206 Change-Id: I101823e8bca293e94d0f7ce507fe78cedff3ea1b Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/219281 Reviewed-by: Ilya Nikolaevskiy <[email protected]> Commit-Queue: Henrik Boström <[email protected]> Cr-Commit-Position: refs/heads/master@{#34048}
- Loading branch information