]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/g722.h
h264: Fix assignments in if()
[ffmpeg] / libavcodec / g722.h
index 69e7a86e25598bc2852fff76be8a186500cdf2ca..bab1da48cc3f4c680ce4b3e438e782c6f110060f 100644 (file)
 
 #define PREV_SAMPLES_BUF_SIZE 1024
 
-typedef struct {
+typedef struct G722Context {
+    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