aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2017-05-10 21:54:31 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2017-05-14 00:21:49 +0200
commite9c3c8df45dc6f0c5f88e2f14c43a3a1f1418306 (patch)
tree695f14a6a3f51d34c20845c3bc60941ec14d93ff
parente6997adee98eff9f7ac69ed5e5a7fcc5a9660253 (diff)
downloadffmpeg-e9c3c8df45dc6f0c5f88e2f14c43a3a1f1418306.tar.gz
avfilter/vf_uspp: Fix currently unused input frame dimensions
Found-by: Nicolas Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 942036e97c8b149ce2f3ec6e7cbc990df8713d0c) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r--libavfilter/vf_uspp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/vf_uspp.c b/libavfilter/vf_uspp.c
index ef493b860f..66035cd78c 100644
--- a/libavfilter/vf_uspp.c
+++ b/libavfilter/vf_uspp.c
@@ -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];