From 636b69c5a4445a28d509e803ff528c753047ef9d Mon Sep 17 00:00:00 2001
From: Benoit Fouet <benoit.fouet@purplelabs.com>
Date: Tue, 3 Apr 2007 22:13:16 +0000
Subject: [PATCH] Remove commented-out while loop. patch by Benoit Fouet,
 benoit.fouet purplelabs com

Originally committed as revision 8620 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 libavcodec/amr.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/libavcodec/amr.c b/libavcodec/amr.c
index 104df3dddbd..4e1e69c03a7 100644
--- a/libavcodec/amr.c
+++ b/libavcodec/amr.c
@@ -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;
 }
 
-- 
GitLab