From 1768e43cebd646174bb1366611da575052989e0a Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Sun, 20 Jan 2013 22:26:42 -0800 Subject: vorbisdsp: change block_size type from int to intptr_t. This saves one instruction in the x86-64 assembly. --- libavcodec/vorbisdsp.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libavcodec/vorbisdsp.h') 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 + 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); -- cgit v1.2.3