Remove commented-out while loop.
authorBenoit Fouet <benoit.fouet@purplelabs.com>
Tue, 3 Apr 2007 22:13:16 +0000 (22:13 +0000)
committerDiego Biurrun <diego@biurrun.de>
Tue, 3 Apr 2007 22:13:16 +0000 (22:13 +0000)
patch by Benoit Fouet, benoit.fouet purplelabs com

Originally committed as revision 8620 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/amr.c

index 104df3d..4e1e69c 100644 (file)
@@ -260,8 +260,6 @@ static int amr_nb_decode_frame(AVCodecContext * avctx,
 
     synth=data;
 
-//    while(offset<buf_size)
-    {
         toc=amrData[offset];
         /* read rest of the frame based on ToC byte */
         q  = (toc >> 2) & 0x01;
@@ -326,7 +324,6 @@ static int amr_nb_decode_frame(AVCodecContext * avctx,
         }
         s->reset_flag_old = s->reset_flag;
 
-    }
     return offset;
 }