# HG changeset patch
# User Min Chen <[email protected]>
# Date 1449511590 21600
# Node ID 6180f5987872c4b0c39f22ca3797ef82694ef781
# Parent 42a01b5f1c7cb70522e9d516c22af69c0b1e8cf0
sao: cleanup unnecessary memset on m_count
---
source/encoder/sao.cpp | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff -r 42a01b5f1c7c -r 6180f5987872 source/encoder/sao.cpp
--- a/source/encoder/sao.cpp Mon Dec 07 12:06:27 2015 -0600
+++ b/source/encoder/sao.cpp Mon Dec 07 12:06:30 2015 -0600
@@ -1266,7 +1266,6 @@
X265_CHECK(sizeof(PerPlane) == (sizeof(int32_t) * (NUM_PLANE *
MAX_NUM_SAO_TYPE * MAX_NUM_SAO_CLASS)), "Found Padding space in struct
PerPlane");
// TODO: Confirm the address space is continuous
- memset(m_count, 0, 3 * sizeof(m_count[0]));
if (m_param->bSaoNonDeblocked)
{
memcpy(m_count, m_countPreDblk[addr], 3 * sizeof(m_count[0]));
_______________________________________________
x265-devel mailing list
[email protected]
https://mailman.videolan.org/listinfo/x265-devel