# HG changeset patch
# User Ashok Kumar Mishra <[email protected]>
# 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"
_______________________________________________
x265-devel mailing list
[email protected]
https://mailman.videolan.org/listinfo/x265-devel

Reply via email to