aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorBenoit Fouet <benoit.fouet@purplelabs.com>2007-04-03 22:13:16 +0000
committerDiego Biurrun <diego@biurrun.de>2007-04-03 22:13:16 +0000
commit636b69c5a4445a28d509e803ff528c753047ef9d (patch)
tree1a72aa6ca2d11ab5cefe265f08a9909a02d4e059 /libavcodec
parent3af6d5cf2f790f7ca5bc002e937c6322a71559f8 (diff)
downloadffmpeg-636b69c5a4445a28d509e803ff528c753047ef9d.tar.gz
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
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/amr.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/amr.c b/libavcodec/amr.c
index 104df3dddb..4e1e69c03a 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;
}