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

Ashok Kumar Mishra ashok at multicorewareinc.com
Wed Jan 24 01:03:03 CET 2018


details:   http://hg.videolan.org/x265/rev/b763c22920f6
branches:  
changeset: 11971:b763c22920f6
user:      Ashok Kumar Mishra <ashok at multicorewareinc.com>
date:      Fri Jan 19 14:46:54 2018 +0530
description:
fix for unable to open input file for gcc 32 bit compiler

diffstat:

 source/input/y4m.cpp |  3 ++-
 source/input/yuv.cpp |  3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 3712d13c09bf -r b763c22920f6 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,7 +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 b763c22920f6 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,7 +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"
 


More information about the x265-commits mailing list