[x265] [PATCH 1 of 5] csv: remove reduce pointer slice to avoid compiler warning

Min Chen chenm003 at 163.com
Wed Dec 9 23:27:09 CET 2015


# HG changeset patch
# User Min Chen <chenm003 at 163.com>
# Date 1449696277 21600
# Node ID 6e39e10b195e56c54c27050c727521c39ef29125
# Parent  2ed13ab590f0d7e1d6a0d1be445a37303ad36ed5
csv: remove reduce pointer slice to avoid compiler warning
---
 source/encoder/encoder.cpp |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff -r 2ed13ab590f0 -r 6e39e10b195e source/encoder/encoder.cpp
--- a/source/encoder/encoder.cpp	Mon Dec 07 11:49:08 2015 +0530
+++ b/source/encoder/encoder.cpp	Wed Dec 09 15:24:37 2015 -0600
@@ -1272,7 +1272,6 @@
 
     if (frameStats)
     {
-        Slice* slice = curFrame->m_encData->m_slice;
         const int picOrderCntLSB = (slice->m_poc - slice->m_lastIDR + (1 << BITS_FOR_POC)) % (1 << BITS_FOR_POC);
 
         frameStats->encoderOrder = m_outputCount++;



More information about the x265-devel mailing list