[x265] [PATCH] tcompicyuv: initialize NULL to cu and bu offset buffers

gopu at multicorewareinc.com gopu at multicorewareinc.com
Fri Feb 28 22:01:51 CET 2014


# HG changeset patch
# User Gopu Govindaswamy
# Date 1393621201 28800
#      Fri Feb 28 13:00:01 2014 -0800
# Node ID cc42200ad50a29d09ac775b386604c0e5ef05b65
# Parent  8189f9e9a39f135eb1a8b6c76833503f0b85c6f2
tcompicyuv: initialize NULL to cu and bu offset buffers.

diff -r 8189f9e9a39f -r cc42200ad50a source/Lib/TLibCommon/TComPicYuv.cpp
--- a/source/Lib/TLibCommon/TComPicYuv.cpp	Thu Feb 27 19:05:54 2014 -0600
+++ b/source/Lib/TLibCommon/TComPicYuv.cpp	Fri Feb 28 13:00:01 2014 -0800
@@ -57,6 +57,11 @@
     m_picOrgY = NULL;  // m_apiPicBufY + m_iMarginLuma*getStride() + m_iMarginLuma
     m_picOrgU = NULL;
     m_picOrgV = NULL;
+
+    m_cuOffsetY = NULL;
+    m_cuOffsetC = NULL;
+    m_buOffsetY = NULL;
+    m_buOffsetC = NULL;
 }
 
 TComPicYuv::~TComPicYuv()


More information about the x265-devel mailing list