aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2015-11-01 19:24:55 -0800
committerTimothy Gu <timothygu99@gmail.com>2016-02-07 09:19:17 -0800
commit59ebf32bca7e3c7ce6190794a520512874ec5fe6 (patch)
treed1782a630e6676b9091fc15ceeff7682778a28d5
parent32fed702b8a4c6690c25af4d65ea93f1747595fc (diff)
downloadffmpeg-59ebf32bca7e3c7ce6190794a520512874ec5fe6.tar.gz
huffyuvencdsp: Undefine "i" macro after each use
-rw-r--r--libavcodec/x86/huffyuvencdsp.asm3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/x86/huffyuvencdsp.asm b/libavcodec/x86/huffyuvencdsp.asm
index 80b8a54af3..a55a1de65d 100644
--- a/libavcodec/x86/huffyuvencdsp.asm
+++ b/libavcodec/x86/huffyuvencdsp.asm
@@ -116,6 +116,7 @@ DIFF_BYTES_PROLOGUE
%define regsize mmsize
DIFF_BYTES_LOOP_PREP .skip_main_aa
DIFF_BYTES_BODY a, a
+%undef i
%endif
INIT_XMM sse2
@@ -129,6 +130,7 @@ DIFF_BYTES_PROLOGUE
DIFF_BYTES_BODY a, a
DIFF_BYTES_BODY u, a
DIFF_BYTES_BODY u, u
+%undef i
%if HAVE_AVX2_EXTERNAL
INIT_YMM avx2
@@ -144,4 +146,5 @@ DIFF_BYTES_PROLOGUE
DIFF_BYTES_BODY a, a
DIFF_BYTES_BODY u, a
DIFF_BYTES_BODY u, u
+%undef i
%endif