[x265] [PATCH] dither: fix bitdepth check

deepthi at multicorewareinc.com deepthi at multicorewareinc.com
Wed Jul 15 08:24:49 CEST 2015


# HG changeset patch
# User Deepthi Nandakumar <deepthi at multicorewareinc.com>
# Date 1436941464 -19800
#      Wed Jul 15 11:54:24 2015 +0530
# Node ID 2c77cd9bb89958cd01a04aa3417067309a31d1b0
# Parent  2347105a9bfb68ee41f85bcb5704570c36114535
dither: fix bitdepth check

diff -r 2347105a9bfb -r 2c77cd9bb899 source/x265-extras.cpp
--- a/source/x265-extras.cpp	Tue Jun 23 20:35:38 2015 +0530
+++ b/source/x265-extras.cpp	Wed Jul 15 11:54:24 2015 +0530
@@ -305,9 +305,9 @@
         return;
     }
 
-    if (bitDepth <= 8)
+    if (picIn.bitDepth <= 8)
     {
-        fprintf(stderr, "extras [error]: dither only support for input bitdepth > 8\n");
+        fprintf(stderr, "extras [error]: dither support enabled only for input bitdepth > 8\n");
         return;
     }
 


More information about the x265-devel mailing list