shithub: openh264

Download patch

ref: d14e714d9ddad7f6b34d3c8c2a065c49f7b3cf8d
parent: 82d5cd90c3c4c60e54e5063ca90c0a2a23194a4b
parent: 73bbef2f5cce48970dd55a2d16941e074f171695
author: guangwei <[email protected]>
date: Wed Apr 22 07:11:31 EDT 2020

Merge pull request #3144 from disigma/master

Fix symbol hiding

--- a/codec/common/x86/asm_inc.asm
+++ b/codec/common/x86/asm_inc.asm
@@ -485,15 +485,20 @@
 %endmacro
 
 %macro WELS_EXTERN 1
-    %ifndef WELS_PRIVATE_EXTERN
-        %define WELS_PRIVATE_EXTERN
-    %endif
     ALIGN 16, nop
     %ifdef PREFIX
-        global _%1 WELS_PRIVATE_EXTERN
+        %ifdef WELS_PRIVATE_EXTERN
+            global _%1: WELS_PRIVATE_EXTERN
+        %else
+            global _%1
+        %endif
         %define %1 _%1
     %else
-        global %1 WELS_PRIVATE_EXTERN
+        %ifdef WELS_PRIVATE_EXTERN
+            global %1: WELS_PRIVATE_EXTERN
+        %else
+            global %1
+        %endif
     %endif
     %1:
 %endmacro