[x265] [PATCH] Fix Linux build errors

Dinesh Kumar Reddy dinesh at multicorewareinc.com
Fri May 24 12:16:37 CEST 2019


# HG changeset patch
# User Shushuang <shushang at multicorewareinc.com>
# Date 1558686517 -28800
#      Fri May 24 16:28:37 2019 +0800
# Node ID b9bef1a4c34a82ea685ed76ebdd642c266bffcc3
# Parent  ccc7a3edd595f3429c4b141eef70bbd15357d313
Fix Linux build errors

Pushed patch to default repo.

Thanks & Regards,
Dinesh

On Fri, May 24, 2019 at 2:24 PM Shushuang Yan <shushang at multicorewareinc.com>
wrote:

> # HG changeset patch
> # User Shushuang <shushang at multicorewareinc.com>
> # Date 1558686517 -28800
> #      Fri May 24 16:28:37 2019 +0800
> # Node ID b9bef1a4c34a82ea685ed76ebdd642c266bffcc3
> # Parent  ccc7a3edd595f3429c4b141eef70bbd15357d313
> Fix Linux build errors
>
> diff -r ccc7a3edd595 -r b9bef1a4c34a source/x265.cpp
> --- a/source/x265.cpp Thu May 23 19:38:47 2019 +0530
> +++ b/source/x265.cpp Fri May 24 16:28:37 2019 +0800
> @@ -1021,7 +1021,7 @@
>                      char* field2Buf = X265_MALLOC( char,
> pic_in->framesize >> 1 );
>
>                      int stride = picField1.stride[0] =
> picField2.stride[0] = pic_in->stride[0];
> -                    int framesize = stride * (height >>
> x265_cli_csps[pic_in->colorSpace].height[0]);
> +                    uint64_t framesize = stride * (height >>
> x265_cli_csps[pic_in->colorSpace].height[0]);
>                      picField1.planes[0] = field1Buf;
>                      picField2.planes[0] = field2Buf;
>                      for (int i = 1; i <
> x265_cli_csps[pic_in->colorSpace].planes; i++)
>
> --
> Thanks,
> Shushuang Yan
> _______________________________________________
> 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/20190524/842b59ed/attachment.html>


More information about the x265-devel mailing list