<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 5, 2018 at 6:10 PM,  <span dir="ltr"><<a href="mailto:indumathi@multicorewareinc.com" target="_blank">indumathi@multicorewareinc.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"># HG changeset patch<br>
# User <a href="mailto:indumathi@multicorewareinc.com">indumathi@multicorewareinc.com</a><br>
# Date 1530793686 -19800<br>
#      Thu Jul 05 17:58:06 2018 +0530<br>
# Node ID f377b028f4a91715372a6241fc80e7<wbr>8a672dbd06<br>
# Parent  d65e3a557a20c0a67dd6dd7ad4cfb4<wbr>b679ccd937<br>
Fix build warnings in linux<br>
<br>
diff -r d65e3a557a20 -r f377b028f4a9 source/encoder/encoder.cpp<br>
--- a/source/encoder/encoder.cpp        Thu Jun 14 16:27:32 2018 +0800<br>
+++ b/source/encoder/encoder.cpp        Thu Jul 05 17:58:06 2018 +0530<br>
@@ -4740,9 +4740,8 @@<br>
 void Encoder::readUserSeiFile(x265_<wbr>sei_payload& seiMsg, int curPoc)<br>
 {<br>
     char line[1024];<br>
-    while (!feof(m_naluFile))<br>
+    while (fgets(line, sizeof(line), m_naluFile))<br>
     {<br>
-        fgets(line, sizeof(line), m_naluFile);<br>
         int poc = atoi(strtok(line, " "));<br>
         char *prefix = strtok(NULL, " ");<br>
         int nalType = atoi(strtok(NULL, "/"));<br>
<br>______________________________<wbr>_________________<br>
x265-devel mailing list<br>
<a href="mailto:x265-devel@videolan.org">x265-devel@videolan.org</a><br>
<a href="https://mailman.videolan.org/listinfo/x265-devel" rel="noreferrer" target="_blank">https://mailman.videolan.org/<wbr>listinfo/x265-devel</a><br>
<br></blockquote></div><br></div><div class="gmail_extra">Pushed.</div></div>