diff options
author | Vitor Sessak <vitor1001@gmail.com> | 2010-07-29 22:45:21 +0000 |
---|---|---|
committer | Vitor Sessak <vitor1001@gmail.com> | 2010-07-29 22:45:21 +0000 |
commit | 740dfe7012a41350292f77692867595d8cfa5370 (patch) | |
tree | 6c4f238ea0afa7e39d246dbaa72da376aa0f66aa /libavcodec/x86/idct_mmx.c | |
parent | 2ee5c78967730f2cffcd873fd793266dd8cecf58 (diff) | |
download | ffmpeg-740dfe7012a41350292f77692867595d8cfa5370.tar.gz |
Fix compilation in x86_64. I broke it with r24580.
Originally committed as revision 24582 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/x86/idct_mmx.c')
-rw-r--r-- | libavcodec/x86/idct_mmx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/x86/idct_mmx.c b/libavcodec/x86/idct_mmx.c index eaefc246d5..57fa81892d 100644 --- a/libavcodec/x86/idct_mmx.c +++ b/libavcodec/x86/idct_mmx.c @@ -194,7 +194,7 @@ static inline void mmxext_row_mid (int16_t * const row, const int store, "movq 8(%3), %%mm4 \n\t" /* mm4 = C6 C4 C6 C4 */ "pshufw $0x4e, %%mm2, %%mm2\n\t" /* mm2 = x2 x0 x6 x4 */ - :: "r" (row), "r" (2*offset), "r" (2*store), "r" (table) + :: "r" (row), "r" ((x86_reg) (2*offset)), "r" ((x86_reg) (2*store)), "r" (table) ); } @@ -337,7 +337,7 @@ static inline void mmx_row_mid (int16_t * const row, const int store, "movq %%mm7, 8(%0,%2) \n\t" /* save y7 y6 y5 y4 */ "pmaddwd %%mm0, %%mm3 \n\t" /* mm3 = C4*x0+C6*x2 C4*x0+C2*x2 */ - : : "r" (row), "r"(2*offset), "r" (2*store), "r" (table) + : : "r" (row), "r" ((x86_reg) (2*offset)), "r" ((x86_reg) (2*store)), "r" (table) ); } |