[FFmpeg-cvslog] avfilter/vf_uspp: Fix currently unused input frame dimensions
Michael Niedermayer
git at videolan.org
Wed May 10 23:15:58 EEST 2017
ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Wed May 10 21:54:31 2017 +0200| [942036e97c8b149ce2f3ec6e7cbc990df8713d0c] | committer: Michael Niedermayer
avfilter/vf_uspp: Fix currently unused input frame dimensions
Found-by: Nicolas
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=942036e97c8b149ce2f3ec6e7cbc990df8713d0c
---
libavfilter/vf_uspp.c | 4 ++--
1 file 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];
More information about the ffmpeg-cvslog
mailing list