# HG changeset patch # User michael # Date 1229678514 0 # Node ID 0199857f9000719d06617675b05e32d849b7903b # Parent 9267436cfb6bdccb6c561f550147a9a0fa6f1870 Fix decoding with the plain C idcts of FRExt/HPCAMOLQ_BRCM_B FRExt/HPCAQ2LQ_BRCM_B FRExt/HPCVMOLQ_BRCM_B diff -r 9267436cfb6b -r 0199857f9000 h264.c --- 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)); }