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:
parent
1abe7a0555
commit
17a018716c
@ -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(
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user