summaryrefslogtreecommitdiff
path: root/libavcodec/g722.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/g722.h')
-rw-r--r--libavcodec/g722.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/g722.h b/libavcodec/g722.h
index 5edb6c8119..69e7a86e25 100644
--- a/libavcodec/g722.h
+++ b/libavcodec/g722.h
@@ -26,10 +26,12 @@
#define AVCODEC_G722_H
#include <stdint.h>
+#include "avcodec.h"
#define PREV_SAMPLES_BUF_SIZE 1024
typedef struct {
+ AVFrame frame;
int16_t prev_samples[PREV_SAMPLES_BUF_SIZE]; ///< memory of past decoded samples
int prev_samples_pos; ///< the number of values in prev_samples