diff h264.c @ 8402:0199857f9000 libavcodec

Fix decoding with the plain C idcts of FRExt/HPCAMOLQ_BRCM_B FRExt/HPCAQ2LQ_BRCM_B FRExt/HPCVMOLQ_BRCM_B
author michael
date Fri, 19 Dec 2008 09:21:54 +0000
parents 3019af3f98fa
children f94a6d6df87e
line wrap: on
line diff
--- a/h264.c	Fri Dec 19 06:29:35 2008 +0000
+++ b/h264.c	Fri Dec 19 09:21:54 2008 +0000
@@ -2120,6 +2120,8 @@
     s->unrestricted_mv=1;
     s->decode=1; //FIXME
 
+    dsputil_init(&s->dsp, s->avctx); // needed so that idct permutation is known early
+
     memset(h->pps.scaling_matrix4, 16, 6*16*sizeof(uint8_t));
     memset(h->pps.scaling_matrix8, 16, 2*64*sizeof(uint8_t));
 }