postproc/postprocess: fix quant store for fq mode

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 941aaa39e8)

Conflicts:

	tests/ref/fate/filter-pp3
This commit is contained in:
Michael Niedermayer
2014-10-12 20:26:27 +02:00
parent aa40f11b81
commit 13b7962aae
2 changed files with 2 additions and 2 deletions

View File

@@ -1004,7 +1004,7 @@ void pp_postprocess(const uint8_t * src[3], const int srcStride[3],
if((pict_type&7)!=3){ if((pict_type&7)!=3){
if (QPStride >= 0){ if (QPStride >= 0){
int i; int i;
const int count= mbHeight * QPStride; const int count= mbHeight * FFMAX(QPStride, mbWidth);
for(i=0; i<(count>>2); i++){ for(i=0; i<(count>>2); i++){
((uint32_t*)c->nonBQPTable)[i] = ((const uint32_t*)QP_store)[i] & 0x3F3F3F3F; ((uint32_t*)c->nonBQPTable)[i] = ((const uint32_t*)QP_store)[i] & 0x3F3F3F3F;
} }

View File

@@ -1 +1 @@
pp3 39af1a30d0ea0e906df264773adfcaa6 pp3 c8277ef31ab01bad51356841c9634522