Commit b277ebd5 authored by Justin Ruggles's avatar Justin Ruggles

cook: remove pointless return statements

parent c9c841e2
...@@ -658,14 +658,12 @@ static void interpolate_float(COOKContext *q, float* buffer, ...@@ -658,14 +658,12 @@ static void interpolate_float(COOKContext *q, float* buffer,
for(i=0 ; i<q->gain_size_factor ; i++){ for(i=0 ; i<q->gain_size_factor ; i++){
buffer[i]*=fc1; buffer[i]*=fc1;
} }
return;
} else { //smooth gain } else { //smooth gain
fc2 = q->gain_table[11 + (gain_index_next-gain_index)]; fc2 = q->gain_table[11 + (gain_index_next-gain_index)];
for(i=0 ; i<q->gain_size_factor ; i++){ for(i=0 ; i<q->gain_size_factor ; i++){
buffer[i]*=fc1; buffer[i]*=fc1;
fc1*=fc2; fc1*=fc2;
} }
return;
} }
} }
......
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