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

Min Chen chenm003 at 163.com
Mon Dec 7 18:50:34 CET 2015


# HG changeset patch
# User Min Chen <chenm003 at 163.com>
# Date 1449509663 21600
# Node ID b7ca5ebd7fcdcd4af0ef5ae567e88c04b7694e46
# 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 b7ca5ebd7fcd source/encoder/encoder.cpp
--- a/source/encoder/encoder.cpp	Mon Dec 07 11:49:08 2015 +0530
+++ b/source/encoder/encoder.cpp	Mon Dec 07 11:34:23 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