g722dec: Signal skipping the lower bits via AVOptions instead of bits_per_coded_sample
[ffmpeg.git] / libavcodec / g722.h
index 69e7a86..eb3b9b8 100644 (file)
@@ -31,7 +31,9 @@
 #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