]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/g722.h
WMAL: Shift output samples by the specified number of padding zeroes.
[ffmpeg] / libavcodec / g722.h
index 5edb6c811901aa59bc1277a7a820b9606c49c7c2..eb3b9b872e35e2819a7d1b72b1be3be2dcc96fa9 100644 (file)
 #define AVCODEC_G722_H
 
 #include <stdint.h>
+#include "avcodec.h"
 
 #define PREV_SAMPLES_BUF_SIZE 1024
 
 typedef struct {
+    const AVClass *class;
+    AVFrame frame;
+    int     bits_per_codeword;
     int16_t prev_samples[PREV_SAMPLES_BUF_SIZE]; ///< memory of past decoded samples
     int     prev_samples_pos;        ///< the number of values in prev_samples