[x265] Compile error, rev 2f9fcf7

Nikos Barkas nikbar2004 at yahoo.com
Tue Sep 3 09:05:09 CEST 2013


Hi

Compilation of revision 2f9fcf7 stops on GCC with a warning/error about signed / unsigned comparison in line 427 of source/encoder/slicetype.cpp.

One of the possible fixes to allow the compile to complete is changing line 427 of the above file from
 for (framecnt = 0; (framecnt < maxSearch) && (framecnt < inputQueue.size()); framecnt++)

to
  for (framecnt = 0; (framecnt < maxSearch) && ((unsigned)framecnt < inputQueue.size()); framecnt++)

Best regards
Nikos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.videolan.org/private/x265-devel/attachments/20130903/6970debe/attachment.html>


More information about the x265-devel mailing list