[x265] [PATCH] warn: Fix build warning from rdcost.h

Pradeep Ramachandran pradeep at multicorewareinc.com
Fri Dec 30 04:45:24 CET 2016


# HG changeset patch
# User Pradeep Ramachandran <pradeep at multicorewareinc.com>
# Date 1483069516 -19800
#      Fri Dec 30 09:15:16 2016 +0530
# Node ID 7a8a3c7d878665e53eab10476f188b279eca838f
# Parent  a18ab7656c30ab2b75ad9bcdcb3e2c27efaf777e
warn: Fix build warning from rdcost.h

diff -r a18ab7656c30 -r 7a8a3c7d8786 source/encoder/rdcost.h
--- a/source/encoder/rdcost.h	Thu Dec 29 14:55:02 2016 +0530
+++ b/source/encoder/rdcost.h	Fri Dec 30 09:15:16 2016 +0530
@@ -135,7 +135,7 @@
     {
 #if X265_DEPTH < 10
         X265_CHECK((bits <= (UINT64_MAX / m_lambda2)) && (ssimCost <= UINT64_MAX / m_lambda),
-                   "calcPsyRdCost wrap detected dist: %u, bits: %u, lambda: " X265_LL ", lambda2: " X265_LL "\n",
+                   "calcPsyRdCost wrap detected dist: " X265_LL " bits: %u, lambda: " X265_LL ", lambda2: " X265_LL "\n",
                    distortion, bits, m_lambda, m_lambda2);
 #else
         X265_CHECK((bits <= (UINT64_MAX / m_lambda2)) && (ssimCost <= UINT64_MAX / m_lambda),
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x265.patch
Type: text/x-patch
Size: 1010 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20161230/70f37c8f/attachment.bin>


More information about the x265-devel mailing list