[x265] [PATCH 1 of 2] cleanup: remove reduce condition check

Min Chen chenm003 at 163.com
Tue Aug 19 21:16:45 CEST 2014


# HG changeset patch
# User Min Chen <chenm003 at 163.com>
# Date 1408475768 25200
# Node ID 097a8749922f37c8bfaa55fc0e2cb21943d30b34
# Parent  b137f5c97c469a9495bdace16adde9d787445aa1
cleanup: remove reduce condition check

diff -r b137f5c97c46 -r 097a8749922f source/encoder/entropy.cpp
--- a/source/encoder/entropy.cpp	Tue Aug 19 17:51:02 2014 +0530
+++ b/source/encoder/entropy.cpp	Tue Aug 19 12:16:08 2014 -0700
@@ -612,7 +612,7 @@
     {
         // The 1-terminating bit is added to all streams, so don't add it here when it's 1.
         if (!bTerminateSlice)
-            codeTerminatingBit(bTerminateSlice ? 1 : 0);
+            codeTerminatingBit(0);
 
         if (!m_bitIf)
             resetBits();



More information about the x265-devel mailing list