[x265] [PATCH] fixes encoder crash when userSEI is present (issue #340)

Pradeep Ramachandran pradeep at multicorewareinc.com
Tue May 9 09:14:43 CEST 2017


On Wed, May 3, 2017 at 7:12 PM, <bhavna at multicorewareinc.com> wrote:

> # HG changeset patch
> # User Bhavna Hariharan <bhavna at multicorewareinc.com>
> # Date 1493793312 -19800
> #      Wed May 03 12:05:12 2017 +0530
> # Node ID 5d5f40bf6268a0996d34bd3fbe3fe80cb7cf2899
> # Parent  fd01abfc7898283922b34f7fcd9192ddf9c7818a
> fixes encoder crash when userSEI is present (issue #340)
>

Pushed to stable branch.


>
> diff -r fd01abfc7898 -r 5d5f40bf6268 source/encoder/encoder.cpp
> --- a/source/encoder/encoder.cpp        Tue May 02 14:09:48 2017 -0700
> +++ b/source/encoder/encoder.cpp        Wed May 03 12:05:12 2017 +0530
> @@ -708,7 +708,7 @@
>              for (int i = 0; i < numPayloads; i++)
>              {
>                  x265_sei_payload input;
> -                if (i == (numPayloads - 1))
> +                if ((i == (numPayloads - 1)) && toneMapEnable)
>                      input = toneMap;
>                  else
>                      input = pic_in->userSEI.payloads[i];
> _______________________________________________
> 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/20170509/5294da5d/attachment.html>


More information about the x265-devel mailing list