Mercurial > libavcodec.hg
comparison vc1.c @ 8639:29096719e684 libavcodec
VC-1 postproc field is 2 bits wide while decoder read only single bit.
Spotted by Stephen Warren.
author | kostya |
---|---|
date | Fri, 23 Jan 2009 06:31:17 +0000 |
parents | 6fa5b0727ddd |
children | ad979489c6e7 |
comparison
equal
deleted
inserted
replaced
8638:1088ea188568 | 8639:29096719e684 |
---|---|
1405 if (pqindex < 9) v->halfpq = get_bits1(gb); | 1405 if (pqindex < 9) v->halfpq = get_bits1(gb); |
1406 else v->halfpq = 0; | 1406 else v->halfpq = 0; |
1407 if (v->quantizer_mode == QUANT_FRAME_EXPLICIT) | 1407 if (v->quantizer_mode == QUANT_FRAME_EXPLICIT) |
1408 v->pquantizer = get_bits1(gb); | 1408 v->pquantizer = get_bits1(gb); |
1409 if(v->postprocflag) | 1409 if(v->postprocflag) |
1410 v->postproc = get_bits1(gb); | 1410 v->postproc = get_bits(gb, 2); |
1411 | 1411 |
1412 if(v->s.pict_type == FF_I_TYPE || v->s.pict_type == FF_P_TYPE) v->use_ic = 0; | 1412 if(v->s.pict_type == FF_I_TYPE || v->s.pict_type == FF_P_TYPE) v->use_ic = 0; |
1413 | 1413 |
1414 switch(v->s.pict_type) { | 1414 switch(v->s.pict_type) { |
1415 case FF_I_TYPE: | 1415 case FF_I_TYPE: |