[x265] [PATCH] Fix Linux build errors

Shushuang Yan shushang at multicorewareinc.com
Fri May 24 10:54:09 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

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20190524/60123ce4/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 12515.patch
Type: application/octet-stream
Size: 1032 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20190524/60123ce4/attachment.obj>


More information about the x265-devel mailing list