diff --git a/libavcodec/x86/constants.h b/libavcodec/x86/constants.h index c85a54e773..f73a9f26ec 100644 --- a/libavcodec/x86/constants.h +++ b/libavcodec/x86/constants.h @@ -25,6 +25,7 @@ #include "libavutil/x86/asm.h" +extern const xmm_reg ff_pw_1; extern const xmm_reg ff_pw_2; extern const xmm_reg ff_pw_3; extern const xmm_reg ff_pw_4; diff --git a/libavcodec/x86/dwt_yasm.asm b/libavcodec/x86/dwt_yasm.asm index 1d8e793e70..658acc13fc 100644 --- a/libavcodec/x86/dwt_yasm.asm +++ b/libavcodec/x86/dwt_yasm.asm @@ -22,12 +22,12 @@ %include "libavutil/x86/x86util.asm" SECTION_RODATA -pw_1: times 8 dw 1 -pw_8: times 8 dw 8 -pw_16: times 8 dw 16 pw_1991: times 4 dw 9,-1 +cextern pw_1 cextern pw_2 +cextern pw_8 +cextern pw_16 section .text