[FFmpeg-soc] [soc]: r4079 - amr/amrnbfloatdec.c
kmalaussene
subversion at mplayerhq.hu
Wed Feb 18 00:29:59 CET 2009
Author: kmalaussene
Date: Wed Feb 18 00:29:59 2009
New Revision: 4079
Log:
Remove pointless cast, noticed by Dark_Shikari on IRC.
Modified:
amr/amrnbfloatdec.c
Modified: amr/amrnbfloatdec.c
==============================================================================
--- amr/amrnbfloatdec.c Tue Feb 17 21:16:09 2009 (r4078)
+++ amr/amrnbfloatdec.c Wed Feb 18 00:29:59 2009 (r4079)
@@ -529,7 +529,8 @@ static void reconstruct_fixed_vector(int
static void decode_8_pulses_31bits(const int16_t *fixed_index, float *fixed_vector)
{
int pulse_position[8];
- int i, pos1, pos2, sign, temp;
+ int i, pos1, pos2, temp;
+ float sign;
// decode pulse positions
// coded using 7+3 bits with the 3 LSBs being, individually, the LSB of 1 of
@@ -581,7 +582,8 @@ static void decode_8_pulses_31bits(const
static void decode_10_pulses_35bits(const int16_t *fixed_index, float *fixed_vector)
{
- int i, pos1, pos2, sign;
+ int i, pos1, pos2;
+ float sign;
memset(fixed_vector, 0, AMR_SUBFRAME_SIZE*sizeof(float));
More information about the FFmpeg-soc
mailing list