shithub: openh264

Download patch

ref: fc260b39e09a50cefac26b8b71817aee48f12c3a
parent: 1449c83f57ad535cadc79a4f81eab95592c5858e
author: Martin Storsjö <[email protected]>
date: Sun Mar 16 09:33:38 EDT 2014

Remove the unused FORMAT_COFF define

Nothing in the project currently sets FORMAT_COFF - the other generic
branch works just fine on windows.

--- a/codec/common/deblock.asm
+++ b/codec/common/deblock.asm
@@ -45,11 +45,7 @@
 ; Macros and other preprocessor constants
 ;*******************************************************************************
 
-%ifdef FORMAT_COFF
-SECTION .rodata pData
-%else
 SECTION .rodata align=16
-%endif
 
 ALIGN   16
 FOUR_16B_SSE2:   dw   4, 4, 4, 4, 4, 4, 4, 4
--- a/codec/common/mc_luma.asm
+++ b/codec/common/mc_luma.asm
@@ -44,11 +44,7 @@
 ;*******************************************************************************
 ; Local Data (Read Only)
 ;*******************************************************************************
-%ifdef FORMAT_COFF
-SECTION .rodata pData
-%else
 SECTION .rodata align=16
-%endif
 
 ;*******************************************************************************
 ; Various memory constants (trigonometric values or rounding values)
--- a/codec/decoder/core/asm/intra_pred.asm
+++ b/codec/decoder/core/asm/intra_pred.asm
@@ -49,11 +49,7 @@
 ; Local Data (Read Only)
 ;*******************************************************************************
 
-%ifdef FORMAT_COFF
-SECTION .rodata data
-%else
 SECTION .rodata align=16
-%endif
 %if 1
 	%define WELSEMMS	emms
 %else
--- a/codec/encoder/core/asm/intra_pred.asm
+++ b/codec/encoder/core/asm/intra_pred.asm
@@ -45,11 +45,7 @@
 ; Local Data (Read Only)
 ;***********************************************************************
 
-%ifdef FORMAT_COFF
-SECTION .rodata pData
-%else
 SECTION .rodata align=16
-%endif
 
 align 16
 sse2_plane_inc_minus dw -7, -6, -5, -4, -3, -2, -1, 0