]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/ra144enc.c
h264: use the main H264Context as the parent for all slice contexts
[ffmpeg] / libavcodec / ra144enc.c
index 9f953d4f0197a873f1d55b8d9fafc049fb1e0283..fd04766561c4b8a038928edb972632ce55b7eef2 100644 (file)
 
 #include "avcodec.h"
 #include "audio_frame_queue.h"
+#include "celp_filters.h"
 #include "internal.h"
+#include "mathops.h"
 #include "put_bits.h"
-#include "celp_filters.h"
 #include "ra144.h"
 
 
@@ -55,7 +56,7 @@ static av_cold int ra144_encode_init(AVCodecContext * avctx)
         return -1;
     }
     avctx->frame_size = NBLOCKS * BLOCKSIZE;
-    avctx->delay      = avctx->frame_size;
+    avctx->initial_padding = avctx->frame_size;
     avctx->bit_rate = 8000;
     ractx = avctx->priv_data;
     ractx->lpc_coef[0] = ractx->lpc_tables[0];