summaryrefslogtreecommitdiff
path: root/libavcodec/gsmdec.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2010-07-27 17:11:13 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2010-07-27 17:11:13 +0000
commit6f2c05f3079dad4eec12dcc33cb46e1e37111192 (patch)
tree6b594b5db410e241b694fb0603a6af261d1bc41e /libavcodec/gsmdec.c
parentd72c981c30dc652d94080bb5668046ba9b489fe5 (diff)
Document how the ref_buf is used.
Originally committed as revision 24551 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/gsmdec.c')
-rw-r--r--libavcodec/gsmdec.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/gsmdec.c b/libavcodec/gsmdec.c
index 3759f35d21..a9d9c345e8 100644
--- a/libavcodec/gsmdec.c
+++ b/libavcodec/gsmdec.c
@@ -34,6 +34,10 @@
#define GSM_FRAME_SIZE 160
typedef struct {
+ // Contains first 120 elements from the previous frame
+ // (used by long_term_synth according to the "lag"),
+ // then in the following 160 elements the current
+ // frame is constructed.
int16_t ref_buf[280];
int v[9];
int lar[2][8];