Browse Source

avfilter/vf_uspp: Fix currently unused input frame dimensions

Found-by: Nicolas
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n3.4
Michael Niedermayer 8 years ago
parent
commit
942036e97c
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libavfilter/vf_uspp.c

+ 2
- 2
libavfilter/vf_uspp.c View File

@@ -228,8 +228,8 @@ static void filter(USPPContext *p, uint8_t *dst[3], uint8_t *src[3],
p->frame->quality = ff_norm_qscale((qpsum + qpcount/2) / qpcount, p->qscale_type) * FF_QP2LAMBDA;
}
// init per MB qscale stuff FIXME
p->frame->height = height;
p->frame->width = width;
p->frame->height = height + BLOCK;
p->frame->width = width + BLOCK;

for (i = 0; i < count; i++) {
const int x1 = offset[i+count-1][0];


Loading…
Cancel
Save