[x265] [PATCH] cli: bug fix for validatefanout param analysis-mode=save and load

Steve Borho steve at borho.org
Tue Nov 4 09:00:33 CET 2014


On 11/04, gopu at multicorewareinc.com wrote:
> # HG changeset patch
> # User Gopu Govindaswamy <gopu at multicorewareinc.com>
> # Date 1415074574 -19800
> #      Tue Nov 04 09:46:14 2014 +0530
> # Node ID 5b278b3c4435340f918d2e23193e878cfefe99da
> # Parent  a8ec469d7fb1de024edef71220c91f67e777ad9d
> cli: bug fix for validatefanout param analysis-mode=save and load

queued for default, thanks

> diff -r a8ec469d7fb1 -r 5b278b3c4435 source/x265.cpp
> --- a/source/x265.cpp	Mon Nov 03 14:32:14 2014 -0600
> +++ b/source/x265.cpp	Tue Nov 04 09:46:14 2014 +0530
> @@ -774,12 +774,9 @@
>      {\
>          bErr = 0;\
>          p = strstr(paramBuf, opt "=");\
> -        char* q = strstr(paramBuf, "no-"opt);\
>          if (p && sscanf(p, opt "=%d" , &i) && param_val != i)\
>              bErr = 1;\
> -        else if (!param_val && !q)\
> -            bErr = 1;\
> -        else if (param_val && (q || !strstr(paramBuf, opt)))\
> +        else if (param_val && strstr(paramBuf, "no-"opt))\
>              bErr = 1;\
>          if (bErr)\
>          {\
> _______________________________________________
> x265-devel mailing list
> x265-devel at videolan.org
> https://mailman.videolan.org/listinfo/x265-devel

-- 
Steve Borho


More information about the x265-devel mailing list