diff --git a/libavcodec/cook.c b/libavcodec/cook.c index 7157a8ce0178e6e90de8d9ce21da00c220d4c4f9..462a8c40fc9765f8ba08fa0dc64a0c498ef73961 100644 --- a/libavcodec/cook.c +++ b/libavcodec/cook.c @@ -658,14 +658,12 @@ static void interpolate_float(COOKContext *q, float* buffer, for(i=0 ; i<q->gain_size_factor ; i++){ buffer[i]*=fc1; } - return; } else { //smooth gain fc2 = q->gain_table[11 + (gain_index_next-gain_index)]; for(i=0 ; i<q->gain_size_factor ; i++){ buffer[i]*=fc1; fc1*=fc2; } - return; } }