[x265] [PATCH] SAO_EO_2: fixed compiler warning

praveen at multicorewareinc.com praveen at multicorewareinc.com
Mon Jan 5 14:45:13 CET 2015


# HG changeset patch
# User Praveen Tiwari
# Date 1420463443 -19800
# Node ID 107602ae6aae7a0a945fc16c2d5fd949f6a3080c
# Parent  132cbd77d7f149c3444a37a607567a875f27c229
SAO_EO_2: fixed compiler warning

diff -r 132cbd77d7f1 -r 107602ae6aae source/encoder/sao.cpp
--- a/source/encoder/sao.cpp	Mon Jan 05 17:25:44 2015 +0530
+++ b/source/encoder/sao.cpp	Mon Jan 05 18:40:43 2015 +0530
@@ -410,8 +410,8 @@
                  int8_t iSignDown2 = signOf(rec[stride + startX] - tmpL[y]);
                  pixel firstPxl = rec[0];  // copy first Pxl
                  pixel lastPxl = rec[ctuWidth - 1];
-                 pixel one = upBufft[1];
-                 pixel two = upBufft[endX + 1];
+                 int8_t one = upBufft[1];
+                 int8_t two = upBufft[endX + 1];
 
                  primitives.saoCuOrgE2(rec, upBufft, upBuff1, m_offsetEo, ctuWidth, stride);
                  if (!lpelx)


More information about the x265-devel mailing list