<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 6, 2017 at 3:38 PM,  <span dir="ltr"><<a href="mailto:aasaipriya@multicorewareinc.com" target="_blank">aasaipriya@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 Aasaipriya Chandran <<a href="mailto:aasaipriya@multicorewareinc.com">aasaipriya@multicorewareinc.<wbr>com</a>><br>
# Date 1499332142 -19800<br>
#      Thu Jul 06 14:39:02 2017 +0530<br>
# Node ID 95065d680f3220a5488ae44683bd72<wbr>fa3ca0e86a<br>
# Parent  006c75cf822e92e3865fc97d21c25b<wbr>0fdc072b51<br>
Fix: Mac build error while EXPORT_C_API disabled<br></blockquote><div><br></div><div>Pushed to default branch</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
diff -r 006c75cf822e -r 95065d680f32 source/encoder/api.cpp<br>
--- a/source/encoder/api.cpp    Thu Jun 22 10:25:03 2017 +0530<br>
+++ b/source/encoder/api.cpp    Thu Jul 06 14:39:02 2017 +0530<br>
@@ -295,7 +295,8 @@<br>
         int padx = encoder->m_sps.<wbr>conformanceWindow.rightOffset;<br>
         int pady = encoder->m_sps.<wbr>conformanceWindow.<wbr>bottomOffset;<br>
         encoder->fetchStats(&stats, sizeof(stats));<br>
-        x265_csvlog_encode(encoder->m_<wbr>param->csvfpt, x265_version_str, *encoder->m_param, padx, pady, stats, encoder->m_param->csvLogLevel, argc, argv);<br>
+        const x265_api * api = x265_api_get(0);<br>
+        x265_csvlog_encode(encoder->m_<wbr>param->csvfpt, api->version_str, *encoder->m_param, padx, pady, stats, encoder->m_param->csvLogLevel, argc, argv);<br>
     }<br>
 }<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>
</blockquote></div><br></div></div>