[x265] [PATCH] Resolved gcc compiler error of mismatched type

dtyx265 at gmail.com dtyx265 at gmail.com
Fri Sep 12 02:27:05 CEST 2014


# HG changeset patch
# User David T Yuen <dtyx265 at gmail.com>
# Date 1410481540 25200
# Node ID 37b199156dfc27874205d6d7fadb71a00e3257d9
# Parent  7e29b10982d2eb7fd79f581d99996f04184522ba
Resolved gcc compiler error of mismatched type

diff -r 7e29b10982d2 -r 37b199156dfc source/x265.cpp
--- a/source/x265.cpp	Thu Sep 11 19:24:28 2014 +0530
+++ b/source/x265.cpp	Thu Sep 11 17:25:40 2014 -0700
@@ -788,7 +788,7 @@
 
 void CLIOptions::writeAnalysisFile(x265_picture* pic, x265_param *p)
 {
-    fpos_t seekTo = pic->poc * this->analysisRecordSize;
+    uint64_t seekTo = pic->poc * this->analysisRecordSize;
     fseeko(this->analysisFile, seekTo, SEEK_SET);
     fwrite(&p->sourceWidth, sizeof(int), 1, this->analysisFile);
     fwrite(&p->sourceHeight, sizeof(int), 1, this->analysisFile);


More information about the x265-devel mailing list