From bb93f1d0013c27528949433b7652a8dcb08fef09 Mon Sep 17 00:00:00 2001 From: "ajm@google.com" Date: Wed, 27 Jul 2011 23:58:56 +0000 Subject: [PATCH] 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 --- src/modules/video_coding/main/source/encoded_frame.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/modules/video_coding/main/source/encoded_frame.cc b/src/modules/video_coding/main/source/encoded_frame.cc index 4515ca0f8c..25c362bedc 100644 --- a/src/modules/video_coding/main/source/encoded_frame.cc +++ b/src/modules/video_coding/main/source/encoded_frame.cc @@ -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);