in libaom decoder use public control function instead of internal one

to unblock rolling new version where private function is no longer available

Bug: None
Change-Id: I9c35fede3f331f7688cc97acfbda1250b42348a3
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/176441
Reviewed-by: Philip Eliasson <philipel@webrtc.org>
Commit-Queue: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#31427}
This commit is contained in:
Danil Chapovalov
2020-06-03 15:40:59 +02:00
committed by Commit Bot
parent 44b8b0bebb
commit 649aa3416e

View File

@ -127,7 +127,7 @@ int32_t LibaomAv1Decoder::Decode(const EncodedImage& encoded_image,
// Return decoded frame data.
int qp;
ret = aom_codec_control_(&context_, AOMD_GET_LAST_QUANTIZER, &qp);
ret = aom_codec_control(&context_, AOMD_GET_LAST_QUANTIZER, &qp);
if (ret != AOM_CODEC_OK) {
RTC_LOG(LS_WARNING) << "LibaomAv1Decoder::Decode returned " << ret
<< " on control AOME_GET_LAST_QUANTIZER.";