Commit 2617dece authored by lorenm's avatar lorenm

10l: cqm weren't initialized in svq3.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@4662 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 48543bc4
......@@ -3033,6 +3033,9 @@ static int alloc_tables(H264Context *h){
s->obmc_scratchpad = NULL;
if(!h->dequant4_coeff[0])
init_dequant_tables(h);
return 0;
fail:
free_tables(h);
......@@ -3051,6 +3054,9 @@ static void common_init(H264Context *h){
h->dequant_coeff_pps= -1;
s->unrestricted_mv=1;
s->decode=1; //FIXME
memset(h->pps.scaling_matrix4, 16, 6*16*sizeof(uint8_t));
memset(h->pps.scaling_matrix8, 16, 2*64*sizeof(uint8_t));
}
static int decode_init(AVCodecContext *avctx){
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment