[x265] [x265 Patch] Fix: MinGW\GCC 9.2 Warnings In Histogram Based Scene Cut Detection

Mario *LigH* Rohkrämer contact at ligh.de
Fri Nov 29 09:01:33 CET 2019


Reported - tested - confirmed yesterday.

Srikanth Kurapati schrieb am 29.11.2019 um 08:52:
> # HG changeset patch
> # User Srikanth Kurapati
> # Date 1574946473 -19800
> #      Thu Nov 28 18:37:53 2019 +0530
> # Node ID 47e02b577ac17e29a9d0c4c33efe46cc79d0bf66
> # Parent  4a29e0c5bfaf30aaed2c5224bcba1f464d68de83
> Fix: gcc 9.2 warnings in encoder.cpp
> 
> diff -r 4a29e0c5bfaf -r 47e02b577ac1 source/encoder/encoder.cpp
> --- a/source/encoder/encoder.cpp Fri Nov 08 15:30:50 2019 +0530
> +++ b/source/encoder/encoder.cpp Thu Nov 28 18:37:53 2019 +0530
> @@ -878,8 +878,10 @@
> 
>       if (m_param->bHistBasedSceneCut)
>       {
> -        if(m_edgePic != NULL)
> -           X265_FREE_ZERO(m_edgePic);
> +        if (m_edgePic != NULL)
> +        {
> +            X265_FREE_ZERO(m_edgePic);
> +        }
>       }
> 
>       for (int i = 0; i < m_param->frameNumThreads; i++)
> 
> -- 
> *With Regards,*
> *Srikanth Kurapati.*
> 
> 
> _______________________________________________
> x265-devel mailing list
> x265-devel at videolan.org
> https://mailman.videolan.org/listinfo/x265-devel
> 


-- 

Fun and success!

Mario *LigH* Rohkrämer
maito:contact at ligh.de


More information about the x265-devel mailing list