changeset 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 9267436cfb6b
children c9918d072bdb
files h264.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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));
 }