[x265] [PATCH] api.cpp: fix warnings in x265_encoder_reconfig
Pradeep Ramachandran
pradeep at multicorewareinc.com
Mon Jul 24 08:21:34 CEST 2017
On Mon, Jul 24, 2017 at 10:40 AM, <aarthi at multicorewareinc.com> wrote:
> # HG changeset patch
> # User Aarthi Thirumalai <aarthi at multicorewareinc.com>
> # Date 1500872870 -19800
> # Mon Jul 24 10:37:50 2017 +0530
> # Node ID ab80975559be17eed12f4e90f82390321435f65d
> # Parent 01a981f509eaf98461b719dcc9fdd5a9bed05b6e
> api.cpp: fix warnings in x265_encoder_reconfig
>
Pushed into default branch
>
> diff -r 01a981f509ea -r ab80975559be source/encoder/api.cpp
> --- a/source/encoder/api.cpp Thu Jul 13 19:37:37 2017 +0530
> +++ b/source/encoder/api.cpp Mon Jul 24 10:37:50 2017 +0530
> @@ -191,7 +191,7 @@
> if (encoder->m_latestParam->forceFlush != param_in->forceFlush)
> return encoder->reconfigureParam(encoder->m_latestParam,
> param_in);
> bool isReconfigureRc = encoder->isReconfigureRc(encoder->m_latestParam,
> param_in);
> - if (encoder->m_reconfigure && !isReconfigureRc ||
> encoder->m_reconfigureRc && isReconfigureRc) /* Reconfigure in progress */
> + if ((encoder->m_reconfigure && !isReconfigureRc) ||
> (encoder->m_reconfigureRc && isReconfigureRc)) /* Reconfigure in progress */
> return 1;
> memcpy(&save, encoder->m_latestParam, sizeof(x265_param));
> int ret = encoder->reconfigureParam(encoder->m_latestParam,
> param_in);
> _______________________________________________
> x265-devel mailing list
> x265-devel at videolan.org
> https://mailman.videolan.org/listinfo/x265-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20170724/2c06e6ac/attachment.html>
More information about the x265-devel
mailing list