diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2013-01-20 22:26:42 -0800 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2013-01-20 22:26:42 -0800 |
commit | 1768e43cebd646174bb1366611da575052989e0a (patch) | |
tree | d711f3a66653c1965eb8d126ca30aaa0006f00af /libavcodec/x86 | |
parent | 93af2734ee609133eaeca28329d7f13241dd411f (diff) | |
download | ffmpeg-1768e43cebd646174bb1366611da575052989e0a.tar.gz |
vorbisdsp: change block_size type from int to intptr_t.
This saves one instruction in the x86-64 assembly.
Diffstat (limited to 'libavcodec/x86')
-rw-r--r-- | libavcodec/x86/vorbisdsp_init.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libavcodec/x86/vorbisdsp_init.c b/libavcodec/x86/vorbisdsp_init.c index 5243095003..6f86f6720d 100644 --- a/libavcodec/x86/vorbisdsp_init.c +++ b/libavcodec/x86/vorbisdsp_init.c @@ -25,7 +25,8 @@ #if HAVE_INLINE_ASM #if ARCH_X86_32 -static void vorbis_inverse_coupling_3dnow(float *mag, float *ang, int blocksize) +static void vorbis_inverse_coupling_3dnow(float *mag, float *ang, + intptr_t blocksize) { int i; __asm__ volatile ("pxor %%mm7, %%mm7":); @@ -54,7 +55,8 @@ static void vorbis_inverse_coupling_3dnow(float *mag, float *ang, int blocksize) } #endif -static void vorbis_inverse_coupling_sse(float *mag, float *ang, int blocksize) +static void vorbis_inverse_coupling_sse(float *mag, float *ang, + intptr_t blocksize) { int i; |