mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
cook: remove pointless return statements
This commit is contained in:
parent
c9c841e231
commit
b277ebd508
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user