summaryrefslogtreecommitdiff
path: root/libavfilter/vf_uspp.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-12-12 01:41:33 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-12-12 02:00:04 +0100
commit5172782352118c72060187296d411e38e3df9d34 (patch)
tree13ddaabfdad8a7d26ce31d606caefe005d9aac69 /libavfilter/vf_uspp.c
parentd2d8ac24b8437121c2a36ca41bb141e9acdeeed7 (diff)
avfilter/vf_uspp: The qp array width is qp_stride not stride/16
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/vf_uspp.c')
-rw-r--r--libavfilter/vf_uspp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_uspp.c b/libavfilter/vf_uspp.c
index fd07eb9a56..8352a12d16 100644
--- a/libavfilter/vf_uspp.c
+++ b/libavfilter/vf_uspp.c
@@ -379,7 +379,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
w = FF_CEIL_RSHIFT(inlink->w, 4);
h = 1;
} else {
- w = FF_CEIL_RSHIFT(qp_stride, 4);
+ w = qp_stride;
h = FF_CEIL_RSHIFT(inlink->h, 4);
}