summaryrefslogtreecommitdiff
path: root/libavcodec/amr.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/amr.c')
-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;
}