[x265] [PATCH] Fix typo in extending height to round to multiple of 16

shazeb at multicorewareinc.com shazeb at multicorewareinc.com
Thu Dec 19 06:35:50 CET 2013


# HG changeset patch
# User Shazeb Nawaz Khan <shazeb at multicorewareinc.com>
# Date 1387431342 -19800
#      Thu Dec 19 11:05:42 2013 +0530
# Node ID a27a4ce3dada8f3c079c9a1f4ae7aa61fe184d13
# Parent  1c37c4401ea4c9757111a9d8bf557cefc1852128
Fix typo in extending height to round to multiple of 16

diff -r 1c37c4401ea4 -r a27a4ce3dada source/Lib/TLibCommon/TComPicYuv.cpp
--- a/source/Lib/TLibCommon/TComPicYuv.cpp	Wed Dec 18 22:52:37 2013 -0600
+++ b/source/Lib/TLibCommon/TComPicYuv.cpp	Thu Dec 19 11:05:42 2013 +0530
@@ -211,7 +211,7 @@
     uint8_t rem = width & 15;
 
     padx = rem ? 16 - rem : padx;
-    rem = width & 15;
+    rem = height & 15;
     pady = rem ? 16 - rem : pady;
 
 #if HIGH_BIT_DEPTH


More information about the x265-devel mailing list