]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/gsmdec_data.h
mpegaudiodec: fix short_start calculation
[ffmpeg] / libavcodec / gsmdec_data.h
index b78daa7335f0f7595561e2848ded32c3a084c0c7..2ff2322ab15929dc1cfded4d3f1db9eedb9863d4 100644 (file)
 #define AVCODEC_GSMDEC_DATA
 
 #include <stdint.h>
-
-// input and output sizes in byte
-#define GSM_BLOCK_SIZE    33
-#define GSM_MS_BLOCK_SIZE 65
-#define GSM_FRAME_SIZE   160
+#include "avcodec.h"
 
 typedef struct {
+    AVFrame frame;
     // 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