changeset 12284:81871058b27c libavcodec

Document how the ref_buf is used.
author reimar
date Tue, 27 Jul 2010 17:11:13 +0000
parents a08f20066719
children de55a539a2e1
files gsmdec.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/gsmdec.c	Tue Jul 27 15:54:26 2010 +0000
+++ b/gsmdec.c	Tue Jul 27 17:11:13 2010 +0000
@@ -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];