Commit 934bc927 authored by Vitor Sessak's avatar Vitor Sessak

Remove commented out code.

Originally committed as revision 15249 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent f9f7210e
...@@ -269,7 +269,6 @@ static void chomp3(ChannelData *ctx, int16_t *output, uint8_t val, ...@@ -269,7 +269,6 @@ static void chomp3(ChannelData *ctx, int16_t *output, uint8_t val,
current = mace_broken_clip_int16(current + ctx->lev); current = mace_broken_clip_int16(current + ctx->lev);
ctx->lev = current - (current >> 3); ctx->lev = current - (current >> 3);
//*ctx->outPtr++=current >> 8;
*output = QT_8S_2_16S(current); *output = QT_8S_2_16S(current);
if (( ctx->index += tab1[val]-(ctx->index >> 5) ) < 0) if (( ctx->index += tab1[val]-(ctx->index >> 5) ) < 0)
ctx->index = 0; ctx->index = 0;
...@@ -297,8 +296,6 @@ static void chomp6(ChannelData *ctx, int16_t *output, uint8_t val, ...@@ -297,8 +296,6 @@ static void chomp6(ChannelData *ctx, int16_t *output, uint8_t val,
ctx->level = ((current*ctx->factor) >> 15); ctx->level = ((current*ctx->factor) >> 15);
current >>= 1; current >>= 1;
// *ctx->outPtr++=(ctx->previous+ctx->prev2-((ctx->prev2-current) >> 2)) >> 8;
// *ctx->outPtr++=(ctx->previous+current+((ctx->prev2-current) >> 2)) >> 8;
output[0] = QT_8S_2_16S(ctx->previous + ctx->prev2 - output[0] = QT_8S_2_16S(ctx->previous + ctx->prev2 -
((ctx->prev2-current) >> 2)); ((ctx->prev2-current) >> 2));
output[numChannels] = QT_8S_2_16S(ctx->previous + current + output[numChannels] = QT_8S_2_16S(ctx->previous + current +
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment