Merge commit '57ed8debb9b9cc565cc6e9f98c5b5cbb9f69097c'
[ffmpeg.git] / libavcodec / wmv2.c
index 9c94498..6676652 100644 (file)
@@ -29,6 +29,7 @@ av_cold void ff_wmv2_common_init(Wmv2Context * w){
     MpegEncContext * const s= &w->s;
 
     ff_wmv2dsp_init(&w->wdsp);
+    s->dsp.idct_permutation_type = w->wdsp.idct_perm;
     ff_init_scantable_permutation(s->dsp.idct_permutation,
                                   w->wdsp.idct_perm);
     ff_init_scantable(s->dsp.idct_permutation, &w->abt_scantable[0],