summaryrefslogtreecommitdiff
path: root/libavcodec/ac3enc.c
diff options
context:
space:
mode:
authorFabrice Bellard <fabrice@bellard.org>2001-08-06 00:47:50 +0000
committerFabrice Bellard <fabrice@bellard.org>2001-08-06 00:47:50 +0000
commit98be975df1f6bb88ebeca3eada597e3f20fd5c46 (patch)
tree100df4fbfd2eb852d1f46ec86f0e902898aa0006 /libavcodec/ac3enc.c
parent4e66ab3babcf474ba41fc5268bf27f9a39b1b180 (diff)
types fix
Originally committed as revision 36 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 2bd4179aab..30e3f87bda 100644
--- a/libavcodec/ac3enc.c
+++ b/libavcodec/ac3enc.c
@@ -599,7 +599,7 @@ static int bit_alloc(AC3EncodeContext *s,
s->mant2_cnt = 0;
s->mant4_cnt = 0;
for(ch=0;ch<s->nb_channels;ch++) {
- parametric_bit_allocation(s, bap[i][ch], encoded_exp[i][ch],
+ parametric_bit_allocation(s, bap[i][ch], (INT8 *)encoded_exp[i][ch],
0, s->nb_coefs[ch],
(((csnroffst-15) << 4) +
fsnroffst) << 2,