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/vorbisdsp.h | |
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/vorbisdsp.h')
-rw-r--r-- | libavcodec/vorbisdsp.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libavcodec/vorbisdsp.h b/libavcodec/vorbisdsp.h index b6b2f29fd8..32fcfef5b0 100644 --- a/libavcodec/vorbisdsp.h +++ b/libavcodec/vorbisdsp.h @@ -19,9 +19,12 @@ #ifndef AVCODEC_VORBISDSP_H #define AVCODEC_VORBISDSP_H +#include <stdint.h> + typedef struct VorbisDSPContext { /* assume len is a multiple of 4, and arrays are 16-byte aligned */ - void (*vorbis_inverse_coupling)(float *mag, float *ang, int blocksize); + void (*vorbis_inverse_coupling)(float *mag, float *ang, + intptr_t blocksize); } VorbisDSPContext; void ff_vorbisdsp_init(VorbisDSPContext *dsp); |