Minimal fixes to remove build warnings.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@378 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
hellner@google.com 2011-08-16 16:23:46 +00:00
parent 1abe7a0555
commit 17a018716c
2 changed files with 3 additions and 3 deletions

View File

@ -1504,7 +1504,7 @@ WebRtc_Word32 AviFile::ReadAVIVideoStreamHeader(WebRtc_Word32 endpos)
if (chunksize > _videoFormatHeader.biSize)
{
const WebRtc_Word32 size = chunksize - _videoFormatHeader.biSize;
const WebRtc_UWord32 size = chunksize - _videoFormatHeader.biSize;
const WebRtc_Word32 readSize = (size > CODEC_CONFIG_LENGTH) ?
CODEC_CONFIG_LENGTH : size;
_bytesRead += GetBuffer(

View File

@ -85,8 +85,8 @@ public:
AVI_VIDEO = 1
};
static const WebRtc_UWord32 CODEC_CONFIG_LENGTH = 64;
static const WebRtc_UWord32 STREAM_NAME_LENGTH = 32;
enum {CODEC_CONFIG_LENGTH = 64};
enum {STREAM_NAME_LENGTH = 32};
AviFile();
~AviFile();