[FFmpeg-devel] [PATCH 2/2] resample: x86: Clear __SECT__ before declaring a structure

Timothy Gu timothygu99 at gmail.com
Mon May 25 19:02:15 CEST 2015


Silences a warning:

    libswresample/x86/resample.asm:48: warning: section flags ignored on
    section redeclaration
---
 libswresample/x86/resample.asm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libswresample/x86/resample.asm b/libswresample/x86/resample.asm
index a57ff37..10f29b0 100644
--- a/libswresample/x86/resample.asm
+++ b/libswresample/x86/resample.asm
@@ -28,6 +28,8 @@
 %define pointer resd
 %endif
 
+%define __SECT__
+
 struc ResampleContext
     .av_class:              pointer 1
     .filter_bank:           pointer 1
-- 
1.9.1



More information about the ffmpeg-devel mailing list