Index: webrtc/modules/video_coding/codecs/i420/i420.cc |
diff --git a/webrtc/modules/video_coding/codecs/i420/i420.cc b/webrtc/modules/video_coding/codecs/i420/i420.cc |
index d0c8d0c62c97113090ee35aea284a6098b4c4f58..ad4a8a1a4002f6c91d2aa2222161cafe6001185d 100644 |
--- a/webrtc/modules/video_coding/codecs/i420/i420.cc |
+++ b/webrtc/modules/video_coding/codecs/i420/i420.cc |
@@ -116,7 +116,8 @@ int I420Encoder::Encode(const VideoFrame& inputImage, |
return WEBRTC_VIDEO_CODEC_MEMORY; |
_encodedImage._length = ret_length + kI420HeaderSize; |
- _encodedCompleteCallback->Encoded(_encodedImage, NULL, NULL); |
+ _encodedCompleteCallback->OnEncodedImage(_encodedImage, nullptr, nullptr); |
+ |
return WEBRTC_VIDEO_CODEC_OK; |
} |