Delete the non-const version of the EncodedImage::data() method.
Bug: webrtc:9378 Change-Id: I84ace3ca6a2eb4d0f7c3d4e62f815d77df581bfa Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/185122 Reviewed-by: Artem Titov <titovartem@webrtc.org> Reviewed-by: Philip Eliasson <philipel@webrtc.org> Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org> Commit-Queue: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/master@{#32197}
This commit is contained in:
@ -48,7 +48,11 @@ class RtpFrameObject : public EncodedFrame {
|
||||
bool delayed_by_retransmission() const override;
|
||||
const RTPVideoHeader& GetRtpVideoHeader() const;
|
||||
|
||||
uint8_t* mutable_data() { return image_buffer_->data(); }
|
||||
|
||||
private:
|
||||
// Reference for mutable access.
|
||||
rtc::scoped_refptr<EncodedImageBuffer> image_buffer_;
|
||||
RTPVideoHeader rtp_video_header_;
|
||||
VideoCodecType codec_type_;
|
||||
uint16_t first_seq_num_;
|
||||
|
||||
Reference in New Issue
Block a user