[x265] [PATCH] fix for unable to open input file for gcc 32 bit compiler

Ashok Kumar Mishra ashok at multicorewareinc.com
Tue Jan 23 08:14:49 CET 2018


On Fri, Jan 19, 2018 at 4:22 PM, <ashok at multicorewareinc.com> wrote:

> # HG changeset patch
> # User Ashok Kumar Mishra <ashok at multicorewareinc.com>
> # Date 1516353414 -19800
> #      Fri Jan 19 14:46:54 2018 +0530
> # Node ID d9a9a5daf8604d2dd34a5f172b732a7ce60fa227
> # Parent  3712d13c09bf3b9db105c7f97188bcc11b8f83cd
> fix for unable to open input file for gcc 32 bit compiler
>
> diff -r 3712d13c09bf -r d9a9a5daf860 source/input/y4m.cpp
> --- a/source/input/y4m.cpp      Sat Jan 13 02:47:30 2018 +0100
> +++ b/source/input/y4m.cpp      Fri Jan 19 14:46:54 2018 +0530
> @@ -20,6 +20,8 @@
>   * This program is also available under a commercial proprietary license.
>   * For more information, contact us at license @ x265.com.
>   ************************************************************
> *****************/
> +#define _FILE_OFFSET_BITS 64
> +#define _LARGEFILE_SOURCE
>
>  #include "y4m.h"
>  #include "common.h"
> diff -r 3712d13c09bf -r d9a9a5daf860 source/input/yuv.cpp
> --- a/source/input/yuv.cpp      Sat Jan 13 02:47:30 2018 +0100
> +++ b/source/input/yuv.cpp      Fri Jan 19 14:46:54 2018 +0530
> @@ -20,6 +20,8 @@
>   * This program is also available under a commercial proprietary license.
>   * For more information, contact us at license @ x265.com.
>   ************************************************************
> *****************/
> +#define _FILE_OFFSET_BITS 64
> +#define _LARGEFILE_SOURCE
>
>  #include "yuv.h"
>  #include "common.h"
>

Pushed to default.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20180123/6b239fed/attachment.html>


More information about the x265-devel mailing list