Remove redundant Dcheck in vp9 decoder
Bug: chromium:1070146 Change-Id: Ia4a07cfd16c154e2be3478c020c01fbcaf1c5bb0 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/173743 Reviewed-by: Erik Språng <sprang@webrtc.org> Commit-Queue: Ilya Nikolaevskiy <ilnik@webrtc.org> Cr-Commit-Position: refs/heads/master@{#31119}
This commit is contained in:

committed by
Commit Bot

parent
f355e1a0f6
commit
9ce77fda75
@ -1756,7 +1756,6 @@ int VP9DecoderImpl::ReturnFrame(
|
|||||||
rtc::scoped_refptr<VideoFrameBuffer> img_wrapped_buffer;
|
rtc::scoped_refptr<VideoFrameBuffer> img_wrapped_buffer;
|
||||||
switch (img->bit_depth) {
|
switch (img->bit_depth) {
|
||||||
case 8:
|
case 8:
|
||||||
RTC_DCHECK(img->fmt == VPX_IMG_FMT_I420 || img->fmt == VPX_IMG_FMT_I444);
|
|
||||||
if (img->fmt == VPX_IMG_FMT_I420) {
|
if (img->fmt == VPX_IMG_FMT_I420) {
|
||||||
img_wrapped_buffer = WrapI420Buffer(
|
img_wrapped_buffer = WrapI420Buffer(
|
||||||
img->d_w, img->d_h, img->planes[VPX_PLANE_Y],
|
img->d_w, img->d_h, img->planes[VPX_PLANE_Y],
|
||||||
|
Reference in New Issue
Block a user