[x265] [PATCH x265] linux build error when enable svt-hevc

Dinesh Kumar Reddy dinesh at multicorewareinc.com
Tue Apr 16 08:17:07 CEST 2019


# HG changeset patch
# User Dinesh<dinesh at multicorewareinc.com>
# Date 1555390410 -19800
#      Tue Apr 16 10:23:30 2019 +0530
# Node ID e16999096b480dd0ca3b41d341551db87cf3709b
# Parent  768ab38fd5fd104a8d58f42b646d6117d63b2c0a
Fix build error in linux when enable SVT-HEVC

diff -r 768ab38fd5fd -r e16999096b48 source/encoder/api.cpp
--- a/source/encoder/api.cpp Thu Apr 04 13:35:58 2019 +0530
+++ b/source/encoder/api.cpp Tue Apr 16 10:23:30 2019 +0530
@@ -366,7 +366,7 @@
     static unsigned char picSendDone = 0;
     numEncoded = 0;
     static int codedNal = 0, eofReached = 0;
-
+ EB_H265_ENC_CONFIGURATION* svtParam =
(EB_H265_ENC_CONFIGURATION*)encoder->m_svtAppData->svtHevcParams;
     if (encoder->m_param->bEnableSvtHevc)
     {
         if (pic_in)
@@ -444,7 +444,6 @@
             }
         }

-        EB_H265_ENC_CONFIGURATION* svtParam =
(EB_H265_ENC_CONFIGURATION*)encoder->m_svtAppData->svtHevcParams;
         if (eofReached && svtParam->codeEosNal == 0 && !codedNal)
         {
             EB_BUFFERHEADERTYPE *outputStreamPtr = 0;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20190416/0f4deeb5/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: buildError.patch
Type: application/octet-stream
Size: 1059 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20190416/0f4deeb5/attachment.obj>


More information about the x265-devel mailing list