]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/ra144.h
error_resilience: initialize prev_* variables
[ffmpeg] / libavcodec / ra144.h
index dcdfbb8ccc0221a29655d6c675e665c8b566ff28..81d6964abc9528ff9e0e87efc97d4456f03c6fde 100644 (file)
@@ -24,6 +24,7 @@
 
 #include <stdint.h>
 #include "lpc.h"
+#include "audio_frame_queue.h"
 
 #define NBLOCKS         4       ///< number of subblocks within a block
 #define BLOCKSIZE       40      ///< subblock size in 16-bit words
 #define FRAMESIZE       20      ///< size of encoded frame
 #define LPC_ORDER       10      ///< order of LPC filter
 
-typedef struct {
+typedef struct RA144Context {
     AVCodecContext *avctx;
     LPCContext lpc_ctx;
+    AudioFrameQueue afq;
+    int last_frame;
 
     unsigned int     old_energy;        ///< previous frame energy