VP9 decoder: replace DCHECK with error message
Bug: chromium:1016160 Change-Id: I0ef0db2b254829e7c0dff24b7a8da3a4056547ac Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/157890 Reviewed-by: Niels Moller <nisse@webrtc.org> Commit-Queue: Ilya Nikolaevskiy <ilnik@webrtc.org> Cr-Commit-Position: refs/heads/master@{#29567}
This commit is contained in:
committed by
Commit Bot
parent
0855e2d0ed
commit
5f2fc41fb5
@ -1746,7 +1746,8 @@ int VP9DecoderImpl::ReturnFrame(
|
||||
img->stride[VPX_PLANE_V] / 2, rtc::KeepRefUntilDone(img_buffer));
|
||||
break;
|
||||
default:
|
||||
RTC_NOTREACHED();
|
||||
RTC_LOG(LS_ERROR) << "Unsupported bit depth produced by the decoder: "
|
||||
<< img->bit_depth;
|
||||
return WEBRTC_VIDEO_CODEC_NO_OUTPUT;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user