summaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-12-19 09:21:54 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-12-19 09:21:54 +0000
commita5805aa9d1d4bb9497bc4c12277d591ef776d440 (patch)
tree9e5af9f221b5114b5fd1021668201c542ec475a5 /libavcodec
parentbbc888d0c50edac459d5af14fdcfa7dbfcc08073 (diff)
downloadffmpeg-streaming-a5805aa9d1d4bb9497bc4c12277d591ef776d440.zip
ffmpeg-streaming-a5805aa9d1d4bb9497bc4c12277d591ef776d440.tar.gz
Fix decoding with the plain C idcts of
FRExt/HPCAMOLQ_BRCM_B FRExt/HPCAQ2LQ_BRCM_B FRExt/HPCVMOLQ_BRCM_B Originally committed as revision 16236 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/h264.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 4879e67..ec19933 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -2120,6 +2120,8 @@ static av_cold void common_init(H264Context *h){
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));
}
OpenPOWER on IntegriCloud