[FFmpeg-cvslog] cook: remove pointless return statements

Justin Ruggles git at videolan.org
Sun Oct 30 02:04:13 CEST 2011


ffmpeg | branch: master | Justin Ruggles <justin.ruggles at gmail.com> | Wed Oct 26 21:03:49 2011 -0400| [b277ebd508a0ceeb187d5ae8c463ce6ffb06b4c8] | committer: Justin Ruggles

cook: remove pointless return statements

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b277ebd508a0ceeb187d5ae8c463ce6ffb06b4c8
---

 libavcodec/cook.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/libavcodec/cook.c b/libavcodec/cook.c
index 7157a8c..462a8c4 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;
     }
 }
 



More information about the ffmpeg-cvslog mailing list