[x265] [PATCH x265] Fix build warning in linux

Chunli Zhang chunli at multicorewareinc.com
Thu Jul 12 11:33:16 CEST 2018


# HG changeset patch
# User Chunli Zhang
# Date 1531387406 -28800
#      Thu Jul 12 17:23:26 2018 +0800
# Node ID 8bf51aa8a1708fa106c225db2d6671ede0ad29b0
# Parent  be4894f073613c44279e0972f0fca7f7b996895e
Fix build warning in linux

diff -r be4894f07361 -r 8bf51aa8a170 source/common/param.cpp
--- a/source/common/param.cpp Fri Jun 29 12:15:34 2018 +0530
+++ b/source/common/param.cpp Thu Jul 12 17:23:26 2018 +0800
@@ -1407,8 +1407,6 @@
         "Invalid refine-intra value, refine-intra levels 0 to 3
supported");
     CHECK(param->maxAUSizeFactor < 0.5 || param->maxAUSizeFactor > 1.0,
         "Supported factor for controlling max AU size is from 0.5 to 1");
-    CHECK(param->minLuma < 0 || param->maxLuma > PIXEL_MAX,
-        "Supported minLuma or maxLuma is from 0 to ((1 << X265_DEPTH) -
1)");
 #if !X86_64
     CHECK(param->searchMethod == X265_SEA && (param->sourceWidth > 840 ||
param->sourceHeight > 480),
         "SEA motion search does not support resolutions greater than 480p
in 32 bit build");
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20180712/82200670/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Fix_build_warning_in_linux.patch
Type: application/octet-stream
Size: 1015 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20180712/82200670/attachment.obj>


More information about the x265-devel mailing list