Fix "converting to non-pointer type from NULL" warnings.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@263 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
ajm@google.com 2011-07-27 23:58:56 +00:00
parent 77f49d8219
commit bb93f1d001

View File

@ -38,8 +38,8 @@ _codecSpecificInfoLength(0),
_codec(kVideoCodecUnknown)
{
_buffer = NULL;
_size = NULL;
_length = NULL;
_size = 0;
_length = 0;
if (rhs._buffer != NULL)
{
VerifyAndAllocate(rhs._length);
@ -58,8 +58,8 @@ _codecSpecificInfoLength(0),
_codec(rhs._codec)
{
_buffer = NULL;
_size = NULL;
_length = NULL;
_size = 0;
_length = 0;
if (rhs._buffer != NULL)
{
VerifyAndAllocate(rhs._size);