summaryrefslogtreecommitdiff
path: root/libavcodec/ac3enc.c
diff options
context:
space:
mode:
authorJeff Muizelaar <jrmuizel@gmail.com>2004-11-25 19:17:27 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-11-25 19:17:27 +0000
commit21d7e2ff409383910a2f8b99615ce71d44e77697 (patch)
treeee768b8eff19226d15480fac420b0db1bc40edc4 /libavcodec/ac3enc.c
parenta5ddc19f04872b3295346db713756f2807cd7022 (diff)
fix some type mismatches patch by (Jeff Muizelaar <muizelaar rogers com>)
Originally committed as revision 3712 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ac3enc.c')
-rw-r--r--libavcodec/ac3enc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ac3enc.c b/libavcodec/ac3enc.c
index 78af63b9c9..eb9c8577a1 100644
--- a/libavcodec/ac3enc.c
+++ b/libavcodec/ac3enc.c
@@ -1359,7 +1359,7 @@ static int AC3_encode_frame(AVCodecContext *avctx,
unsigned char *frame, int buf_size, void *data)
{
AC3EncodeContext *s = avctx->priv_data;
- short *samples = data;
+ int16_t *samples = data;
int i, j, k, v, ch;
int16_t input_samples[N];
int32_t mdct_coef[NB_BLOCKS][AC3_MAX_CHANNELS][N/2];