cook: remove pointless return statements
authorJustin Ruggles <justin.ruggles@gmail.com>
Thu, 27 Oct 2011 01:03:49 +0000 (21:03 -0400)
committerJustin Ruggles <justin.ruggles@gmail.com>
Sat, 29 Oct 2011 17:43:28 +0000 (13:43 -0400)
libavcodec/cook.c

index 7157a8c..462a8c4 100644 (file)
@@ -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;
     }
 }