Fix clang warnings in ViE autotest.

Review URL: http://webrtc-codereview.appspot.com/239004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@766 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
andrew@webrtc.org 2011-10-19 01:09:41 +00:00
parent 8fd93d4d96
commit 5d3bdf71ab
2 changed files with 7 additions and 5 deletions

View File

@ -40,8 +40,8 @@ public:
virtual WebRtc_Word32 Encode(
const webrtc::RawImage& inputImage,
const webrtc::CodecSpecificInfo* codecSpecificInfo = NULL,
webrtc::VideoFrameType frameType = webrtc::kDeltaFrame);
const webrtc::CodecSpecificInfo* codecSpecificInfo,
const webrtc::VideoFrameType* frameType);
virtual WebRtc_Word32 RegisterEncodeCompleteCallback(
webrtc::EncodedImageCallback* callback);
@ -101,6 +101,7 @@ public:
virtual WebRtc_Word32 Decode(
const webrtc::EncodedImage& inputImage,
bool missingFrames,
const webrtc::RTPFragmentationHeader* fragmentation,
const webrtc::CodecSpecificInfo* codecSpecificInfo = NULL,
WebRtc_Word64 renderTimeMs = -1);

View File

@ -116,8 +116,8 @@ WebRtc_Word32 tbI420Encoder::InitEncode(const webrtc::VideoCodec* inst,
WebRtc_Word32 tbI420Encoder::Encode(
const webrtc::RawImage& inputImage,
const webrtc::CodecSpecificInfo* codecSpecificInfo /*= NULL*/,
webrtc::VideoFrameType frameType /*= webrtc::kDeltaFrame*/)
const webrtc::CodecSpecificInfo* /*codecSpecificInfo*/,
const webrtc::VideoFrameType* /*frameType*/)
{
_functionCalls.Encode++;
if (!_inited)
@ -237,7 +237,8 @@ WebRtc_Word32 tbI420Decoder::InitDecode(const webrtc::VideoCodec* inst,
WebRtc_Word32 tbI420Decoder::Decode(
const webrtc::EncodedImage& inputImage,
bool /*missingFrames*/,
const webrtc::CodecSpecificInfo* /*codecSpecificInfWord64o*/,
const webrtc::RTPFragmentationHeader* /*fragmentation*/,
const webrtc::CodecSpecificInfo* /*codecSpecificInfo*/,
WebRtc_Word64 /*renderTimeMs*/)
{
_functionCalls.Decode++;