Merge remote-tracking branch 'qatar/master'
[ffmpeg.git] / libavcodec / proresdsp.c
index e19eed2..2195b93 100644 (file)
@@ -64,14 +64,14 @@ static void prores_fdct_c(const uint16_t *src, int linesize, DCTELEM *block)
     ff_jpeg_fdct_islow_10(block);
 }
 
-void ff_proresdsp_init(ProresDSPContext *dsp)
+void ff_proresdsp_init(ProresDSPContext *dsp, AVCodecContext *avctx)
 {
     dsp->idct_put = prores_idct_put_c;
     dsp->idct_permutation_type = FF_NO_IDCT_PERM;
     dsp->fdct     = prores_fdct_c;
     dsp->dct_permutation_type  = FF_NO_IDCT_PERM;
 
-    if (HAVE_MMX) ff_proresdsp_x86_init(dsp);
+    if (HAVE_MMX) ff_proresdsp_x86_init(dsp, avctx);
 
     ff_init_scantable_permutation(dsp->idct_permutation,
                                   dsp->idct_permutation_type);