[x265] [PATCH] Fix: Mac build error while EXPORT_C_API disabled

Pradeep Ramachandran pradeep at multicorewareinc.com
Fri Jul 7 07:34:44 CEST 2017


On Thu, Jul 6, 2017 at 3:38 PM, <aasaipriya at multicorewareinc.com> wrote:

> # HG changeset patch
> # User Aasaipriya Chandran <aasaipriya at multicorewareinc.com>
> # Date 1499332142 -19800
> #      Thu Jul 06 14:39:02 2017 +0530
> # Node ID 95065d680f3220a5488ae44683bd72fa3ca0e86a
> # Parent  006c75cf822e92e3865fc97d21c25b0fdc072b51
> Fix: Mac build error while EXPORT_C_API disabled
>

Pushed to default branch


>
> diff -r 006c75cf822e -r 95065d680f32 source/encoder/api.cpp
> --- a/source/encoder/api.cpp    Thu Jun 22 10:25:03 2017 +0530
> +++ b/source/encoder/api.cpp    Thu Jul 06 14:39:02 2017 +0530
> @@ -295,7 +295,8 @@
>          int padx = encoder->m_sps.conformanceWindow.rightOffset;
>          int pady = encoder->m_sps.conformanceWindow.bottomOffset;
>          encoder->fetchStats(&stats, sizeof(stats));
> -        x265_csvlog_encode(encoder->m_param->csvfpt, x265_version_str,
> *encoder->m_param, padx, pady, stats, encoder->m_param->csvLogLevel, argc,
> argv);
> +        const x265_api * api = x265_api_get(0);
> +        x265_csvlog_encode(encoder->m_param->csvfpt, api->version_str,
> *encoder->m_param, padx, pady, stats, encoder->m_param->csvLogLevel, argc,
> argv);
>      }
>  }
>
> _______________________________________________
> x265-devel mailing list
> x265-devel at videolan.org
> https://mailman.videolan.org/listinfo/x265-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20170707/cafadd46/attachment.html>


More information about the x265-devel mailing list