From 6f2c05f3079dad4eec12dcc33cb46e1e37111192 Mon Sep 17 00:00:00 2001 From: Reimar Döffinger Date: Tue, 27 Jul 2010 17:11:13 +0000 Subject: Document how the ref_buf is used. Originally committed as revision 24551 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/gsmdec.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libavcodec/gsmdec.c') 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]; -- cgit v1.2.3