Fix mismatched signature (due to const) error.

TBR=mikhal@webrtc.org
TEST=trybots

Review URL: https://webrtc-codereview.appspot.com/717013

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2596 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
andrew@webrtc.org 2012-08-10 22:56:17 +00:00
parent 7742479428
commit cdfa63f94f
2 changed files with 8 additions and 8 deletions

View File

@ -51,12 +51,12 @@ private:
// VCMPacketizationCallback function. // VCMPacketizationCallback function.
// Note: called by VideoCodingModule when encoding finished. // Note: called by VideoCodingModule when encoding finished.
WebRtc_Word32 SendData( WebRtc_Word32 SendData(
const FrameType /*frameType*/, FrameType /*frameType*/,
const WebRtc_UWord8 /*payloadType*/, WebRtc_UWord8 /*payloadType*/,
const WebRtc_UWord32 /*timeStamp*/, WebRtc_UWord32 /*timeStamp*/,
int64_t capture_time_ms, int64_t capture_time_ms,
const WebRtc_UWord8* payloadData, const WebRtc_UWord8* payloadData,
const WebRtc_UWord32 payloadSize, WebRtc_UWord32 payloadSize,
const RTPFragmentationHeader& /* fragmentationHeader*/, const RTPFragmentationHeader& /* fragmentationHeader*/,
const RTPVideoHeader* rtpTypeHdr); const RTPVideoHeader* rtpTypeHdr);

View File

@ -106,12 +106,12 @@ class ViEEncoder
// Implements VCMPacketizationCallback. // Implements VCMPacketizationCallback.
virtual WebRtc_Word32 SendData( virtual WebRtc_Word32 SendData(
const FrameType frame_type, FrameType frame_type,
const WebRtc_UWord8 payload_type, WebRtc_UWord8 payload_type,
const WebRtc_UWord32 time_stamp, WebRtc_UWord32 time_stamp,
int64_t capture_time_ms, int64_t capture_time_ms,
const WebRtc_UWord8* payload_data, const WebRtc_UWord8* payload_data,
const WebRtc_UWord32 payload_size, WebRtc_UWord32 payload_size,
const RTPFragmentationHeader& fragmentation_header, const RTPFragmentationHeader& fragmentation_header,
const RTPVideoHeader* rtp_video_hdr); const RTPVideoHeader* rtp_video_hdr);