projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbc888d
)
Fix decoding with the plain C idcts of
author
Michael Niedermayer
<michaelni@gmx.at>
Fri, 19 Dec 2008 09:21:54 +0000
(09:21 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Fri, 19 Dec 2008 09:21:54 +0000
(09:21 +0000)
FRExt/HPCAMOLQ_BRCM_B
FRExt/HPCAQ2LQ_BRCM_B
FRExt/HPCVMOLQ_BRCM_B
Originally committed as revision 16236 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/h264.c
patch
|
blob
|
history
diff --git
a/libavcodec/h264.c
b/libavcodec/h264.c
index 4879e67b1de4deabbb62cdfdba3f0fa848e7c841..ec199335c582d05d11d8febe29f2b63d75eb4f25 100644
(file)
--- 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));
}