[FFmpeg-cvslog] r16236 - trunk/libavcodec/h264.c

michael subversion
Fri Dec 19 10:21:54 CET 2008


Author: michael
Date: Fri Dec 19 10:21:54 2008
New Revision: 16236

Log:
Fix decoding with the plain C idcts of
FRExt/HPCAMOLQ_BRCM_B
FRExt/HPCAQ2LQ_BRCM_B
FRExt/HPCVMOLQ_BRCM_B


Modified:
   trunk/libavcodec/h264.c

Modified: trunk/libavcodec/h264.c
==============================================================================
--- trunk/libavcodec/h264.c	(original)
+++ trunk/libavcodec/h264.c	Fri Dec 19 10:21:54 2008
@@ -2120,6 +2120,8 @@ static av_cold void common_init(H264Cont
     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));
 }




More information about the ffmpeg-cvslog mailing list