# HG changeset patch
# User Min Chen <[email protected]>
# Date 1449076365 21600
# Node ID 9f0c22a2e067f1035fedb636ed505f8539908bfd
# Parent  51648157396685c5d5ac793a8a0209cc8d4a5e4f
nits: cleanup unused code
---
 source/encoder/sao.cpp |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff -r 516481573966 -r 9f0c22a2e067 source/encoder/sao.cpp
--- a/source/encoder/sao.cpp    Wed Dec 02 11:12:41 2015 -0600
+++ b/source/encoder/sao.cpp    Wed Dec 02 11:12:45 2015 -0600
@@ -623,8 +623,6 @@
         rec += stride;
     }
 
-    rec -= (stride << 1);
-
     for (int idxX = 0; idxX < m_numCuInWidth; idxX++)
     {
         addr = idxY * m_numCuInWidth + idxX;
@@ -658,7 +656,7 @@
         }
         else if (idxX != (m_numCuInWidth - 1))
         {
-            rec = plane ? reconPic->getChromaAddr(plane, addr) : 
reconPic->getLumaAddr(addr);
+            rec = reconPic->getPlaneAddr(plane, addr);
 
             for (int i = 0; i < ctuHeight + 1; i++)
             {

_______________________________________________
x265-devel mailing list
[email protected]
https://mailman.videolan.org/listinfo/x265-devel

Reply via email to